3 ms·
What's the best place to get started with testing? As a newbie brogrammer it's intimidating enough writing software that works, let alone suites to comprehensiv
by boppo1 5y ago
What's the best place to get started with testing? As a newbie brogrammer it's intimidating enough writing software that works, let alone suites to comprehensively test it. Is there a testing 'bible'?
- hatware 5y agoBuild systems that break, the tests come naturally after that.
- corndoge 5y agoYou'll fare much better in today's software industry climate if you don't use the word brogrammer
- Godel_unicode 5y agoThere are many deeply held beliefs that people have about testing, so I recommend reading many different takes on how to structure your testing approach. For the pragmatic python programmer, Brian's book is quite good as a starting place: https://pragprog.com/titles/bopytest/python-testing-with-pytest/ https://pragprog.com/titles/bopytest/python-testing-with-pyt...
- codedokode 5y agoI cannot recommend a book or an article, but just wanted to give an idea: automated testing is when you make a script do what a human tester would do. So maybe you should read about testing software in general. How test planning is done, how do you choose test cases. You start with listing requirements (what a program/a class/a function is expected to do or not to do) and then write tests that verify that it is indeed so. The easiest thing is writing unit tests. Pick a function, define requiremens and write a test for every requirement. If your code is not very modular and it is difficult to isolate a class or a function in order to test it, then maybe you should refactor the code first.