반응형 Spring Framework1 ②Junit 에 대해서 공부하자.! bookList, booksearch, bookdelete 일본에서 일하는 외노자 로써 내용이 일본어가 포함될 수 있습니다. Junit에 대해서 공부공부.. Test본코드는 전 게시물을 확인해주시기 바랍니다. https://seodev.tistory.com/m/2 bookList 테스트 // 2. book リスト @Test public void bookList_test() { //given String title = "junit"; String author = "coding"; //when List booksPS = bookRepository.findAll(); //then assertEquals(title , booksPS.get(0).getTitle()); assertEquals(author, booksPS.get(0).getAuthor()); } 등록된 데.. 2022. 10. 18. 이전 1 다음 반응형