-
Notifications
You must be signed in to change notification settings - Fork 0
Plan for Software Quality Assurance
Anthony Porporino edited this page Oct 25, 2019
·
8 revisions
- Create Data i.e. successfully create an object of that class
- Test if error checks for null input successfully work. Make sure no data is created!
- Test if we can successfully get specific created data using different inputs using repository interfaces.
To achieve this target coverage criteria we created a test suite (TestProjectGroup17Service) which contained tests for each business method. These tests covered the situations we wished to achieve (see above). An object of each class can be successfully created and persisted. Proper error checking for null pointers was also tested. Lastly, tests for getting specific data using specific parameters ex: getAvailabilityByTutor were tested. All tests were done using JUnit framework. Before each test the database was cleared and all tests run and work.
- Create Data i.e. successfully create an object of that class
- Test if error checks for null input successfully work. Make sure no data is created!
- Test if we can successfully get specific created data using different inputs using repository interfaces.