Ask HN: How to improve my automated testing skills?
I understand the fundamentals of unit and integration testing. I try to use a balance of them in all code that I write. However, specially with languages such as python and JavaScript, I am constantly stressed about breaking the "integration" between functions at some boundary which isn't being tested in my test suite, even though the suite has a high coverage.
I have recently subscribed to Destroy All Software screen-casts where the speaker does demonstrate some similar scenarios and tries to resolve them. Are there some similar books/ videos/ open source projects which I can refer to, to improve my testing process and suites? Have you looked into e2e tests? They verify that the system works as expected - so they should catch those areas that you are not testing for in your unit and integrations tests. Check out TestCafe. You can see an example of TestCafe in action with a React + Python/Flask app -> https://testdriven.io/part-four-e2e-test-setup/ Thanks for the suggestion and this is definitely one option. However, I was hoping to gain more insight into improving my unit and integration tests (which have high coverage), to cover most scenarios and break, if the integration breaks.