3 ms·
> Hi there. Why would you expect 5000+ tests, or anything more than 100? It might be a factor of testing methodology and style, many people consider that each
by masklinn 14y ago
> Hi there. Why would you expect 5000+ tests, or anything more than 100?
It might be a factor of testing methodology and style, many people consider that each assert is a test/each test should only assert a single things, so the number of tests grows large. I was also surprised at a "mere" 950 unit tests (our web frontend has maybe 10% test coverage and reports almost 700 tests, but that's because the test runner counts each assertion as a test, not each test case — of which we have 200)
- msherry 14y agoAhh, I see. Right, 950+ is the number of unit tests we have, each of which contains a number of assertions. If we count those, it's well into the thousands, so I guess the original question wasn't that far off the mark.