I'm creating a custom adapter for Karma. While in other adapters I looked on (e.g. karma-mocha
) the total number of tests is reported on the beginning of the execution (via info
call), for my case it cannot be done on the beginning as total tests number is not known then.
I tried invoking info
method after every test suite (sending number of tests executed) is executed but it seems it does not take any effect (looks like it is only updated on the beginning of the whole test run). Is it possible to achieve with some other approach or maybe custom reporter?
P.S. I know updating total number of tests after executing every test suite doesn't have much value as the user will still not see total number of tests before running them. However, "Executed 550 of 550" still looks better than "Executed 550 of 0".