Hacker News new | ask | show | jobs
by 1337shadow 2187 days ago
I'd TDD that "do X results in Y" and then add an end to end that that verifies that "Y is displayed", unless that code that displays Y is too trivial then an end to end test might not even be necessary.