Hacker News new | past | comments | ask | show | jobs | submit login
I am too lazy for a test framework (medium.com/damienmaillard)
2 points by dmail on March 30, 2020 | hide | past | favorite | 1 comment



This kind of thing is fine for solo-developers but it does not scale well to a team. When there's a testing framework in place, people's tests fit a standard pattern. I can go and look at someone elses test cases and I understand what they're doing to test it, because there's a standard way of doing it. There are methods in pretty much every testing framework for doing things like floating point comparisons correctly; with your way, you have to build up methods to do that yourself (i.e. creating your own framework anyway), or do that inline every single time.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: