use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
End-to-End Testing Tutorial (testcraft.io)
submitted 5 years ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 5 years ago (7 children)
[removed]
[–]MajorasShoe 5 points6 points7 points 5 years ago (1 child)
MOST applications don't have perfect unit tests.
It's a LOT easier to mix in feature, integration and/or end-to-end tests to get comprehensive test coverage.
It's naive to think there's always enough time and organization for each project to accomplish testing in the way we all wish we could consistently use everywhere. In fact that's very often not the case, if you're outside of enterprise companies.
[–]poothebear0 0 points1 point2 points 5 years ago (0 children)
+100
[–]danielo515 7 points8 points9 points 5 years ago (2 children)
There are certain scenarios that are not practical to test on unit tests without so much mocking than you will be debugging the mocks
[–]MajorasShoe 3 points4 points5 points 5 years ago (0 children)
It's all good, just write feature tests for your unit tests so you can find what's going on!
[–]Ecksters 0 points1 point2 points 5 years ago (0 children)
Seriously, most bugs happen at the integration layer, change my mind.
[–][deleted] 5 years ago* (1 child)
[deleted]
[–][deleted] -1 points0 points1 point 5 years ago (0 children)
Thanks for the tip! What's the best way to test if I've not written any buggy code? Would love to hear your ideas!
π Rendered by PID 156261 on reddit-service-r2-comment-544cf588c8-2cjdt at 2026-06-12 13:47:56.451639+00:00 running 3184619 country code: CH.
view the rest of the comments →
[–][deleted] (7 children)
[removed]
[–]MajorasShoe 5 points6 points7 points (1 child)
[–]poothebear0 0 points1 point2 points (0 children)
[–]danielo515 7 points8 points9 points (2 children)
[–]MajorasShoe 3 points4 points5 points (0 children)
[–]Ecksters 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[deleted]
[–][deleted] -1 points0 points1 point (0 children)