9th March, 2020 Output

What learning outcomes did you focus on today? What did you learn?

I focused on unit testing. I learned the importance of the dependency inversion principle. This enhances the de-coupling of classes and makes it possible to test a class completely independent of another class.

What's something that surprised you today?

I never knew I can fake every class and its methods to make the test independent of any other class. This enables me to create the behavior of the real class and use the methods instead of calling the real class in another class test.

What's something that frustrated you today?

It was frustrating testing the loops in my methods. 


Previous
Previous

Monday Mar-09-2020

Next
Next

Apprenticeship journey Day 11