You Make Me Feel Like Testing, Gonna Test The Night Away

I have reached the stage where I no longer wish to mess with the structure of the WhitestarMediaLibrary. In art, you have to decide when to stop and move on. In this case I may wish to alter the structure if, in the future a fundamental fault is identified. Now I feel like I need to brush up on my testing skills.

However before I do this, below is a complete class diagram of the WhitestarsMediaLibrary.

 

I have also created a git repository on GitLab which I will make public once I have completed adding tests and documentation.

 

Let’s get on with testing.

As I am pretty keen on all things GTT (Getting Things Done),  I thought a checklist would be appropriate when going through each class. I imagine this list will grow and change as I complete creating the tests on each class. As of today the checklist is:

  • No test for those to simple to fail (e.g setters and getters)
  • Test positive and negative results
  • Test Exceptions
  • Suitalble for Test Parameterisation
  • Test Documentation