Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
schubart
on Nov 5, 2022
|
parent
|
context
|
favorite
| on:
Multiple assertions are fine in a unit test
> On the one hand, running tests in any order should produce the same result, and would in any decent test suite.
Therefore the tool
should
run the tests in random order, to flush out the non-decent tests. IMHO.
Jare
on Nov 5, 2022
[–]
If you do this, then the tool should be running the tests all the time, not just on new commits.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Therefore the tool should run the tests in random order, to flush out the non-decent tests. IMHO.