For unit testing i decided to go with Eclipses’ included Junit 5 for testing. The library is now added in my project, and it can be used in the case of the implementation i used by importing the Junit.assert.asserequals function to check if a message is displayed correctly.

The following is a list about how to go on with writing on junit 5 https://junit.org/junit5/docs/current/user-guide/#writing-tests

My github repository that’ll be used for the class is the following aswell:

https://github.com/ferpart/SoftwareQualityandTesting

Advertisements