Description
I have libraries that programmatically run multiple assertions within each unit test. For example, I would generate an array of all the possible combinations of a settings object, then .forEach
loop through each and compare the input versus the output using t.is
.
My problem is, currently there are up to 2048 possible combinations of a settings object, and it can take 10-20 seconds to complete one unit test in AVA. When AVA runs, there are no indication how many assertions (t.is
for example) were completed. It's not clear, is AVA running, and there's no feedback how many assertions were done. Funnily, TAP + Faucet combination used to display live number or assertions done, I remember tens of thousands number growing.
What if we output the number of assertions too? The number could dynamically update for each assertion:
Assertion counts could be ganged into one number upon completion, I don't know, but it would be nice to see live count of assertions currently being crunched by AVA.
What do you think?