Closed sofiiad closed 5 years ago
Finished adding the Junit tests, still need to check if they work : there is always the error of org.springframework.beans.factory.UnsatisfiedDependencyException at TestProjectGroup20Service.java:24 Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException at TestProjectGroup20Service.java:24 Which doesn't make such sense. We're going to got o office hours to check why they don't work. The mock tests work for the user class at least.
You need to develop a test suite for unit testing of the business methods using the JUnit framework. These unit tests should be executed in isolation, i.e. they must be separated from the underlying database. The coverage of test suite must be measured and reported (see above).