March 2023
Intermediate to advanced
280 pages
3h 52m
English
No matter how experienced you are with test writing, it’s all too easy to inadvertently write interdependent tests that share state.
Shared state can mean global variables, database records, and so on.
Having interdependent tests can mean that your tests pass but only because of the setup or actions done in a previous test. You might think your test is working correctly, but in actual fact it’s not doing anything.
That can mean you end up with test failures or tests that don’t test what you think to do, because the Arrange phase ...
Read now
Unlock full access