3 ms·
If you want to test that “it adds X entries” then write the test to add X entries from a clean state, then add another X entries and check it is done correctly.
by atom_arranger 5y ago
If you want to test that “it adds X entries” then write the test to add X entries from a clean state, then add another X entries and check it is done correctly. You don’t need to rely on a dirty start state to do that.