How I can prevent to run import.sql file inside main/resources not deleting or clearing the file in the scope of testing?
@RunWith(SpringRunner.class)
@DataJpaTest
public class SomeIntegrationTest {
@Autowired
private SomeRepository someRepository;
@Before
public void setUp() throws Exception {
}
@After
public void tearDown() throws Exception {
}
}
Aucun commentaire:
Enregistrer un commentaire