-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More updates to readme and some tidying of code
- Loading branch information
1 parent
5f9fe48
commit eafbfa2
Showing
6 changed files
with
70 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 15 additions & 1 deletion
16
src/test/java/com/itera/test/exercises/exercise6/DataJavaRepositoryIT.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,16 @@ | ||
package com.itera.test.exercises.exercise6;public class DataJavaRepositoryIT { | ||
package com.itera.test.exercises.exercise6; | ||
|
||
// Exercise - annotate: | ||
|
||
// We need to extend for spring | ||
// We need to mark it as a JPA test | ||
|
||
public class DataJavaRepositoryIT { | ||
|
||
// Inject the repository you want to test - mark it as Autowired | ||
|
||
// Create a test that uses the injected repository's findAll method | ||
// Run some assertions - for example: | ||
// - assert that the size is correct | ||
// Use any of the assertion libraries we have already seen | ||
} |