Learning Outcomes - 5th March

Today, I had a deeper dive into testing behaviour vs testing implementation. I read about the pros and cons of both, though I mainly focussed on behavioural tests since I have been writing implementation tests all the while.

The most outstanding importance that I learned about behavioural tests is that it becomes handy during a refactor, since the implementation changes but the behaviour doesn’t. For instance, a change in the way the data is stored affects the tests and you would have to go around changing the tests too.

I also, had a look into the testing pyramid and when writing tests insufficient to prove that the code is doing what it should, though I didn’t quite get concrete results. So, I intend to continue looking into these areas tomorrow.

Previous
Previous

Learning Outcome — Thur 5th March 2020.

Next
Next

5th March, 2020 Output