Closed rmpestano closed 8 years ago
Allow empty dataset name in order to execute other operations like clean, execute scripts. Example:
@Test @UsingDataSet(value = "",cleanBefore = true) public void shouldSeedDBWhenUsingEmptyDataSet() { List<User> users = (List<User>) em.createQuery("select u from User u").getResultList(); assertThat(users).isNotNull().hasSize(0); }
Will not load any dataset but will perform clean.
Allow empty dataset name in order to execute other operations like clean, execute scripts. Example:
Will not load any dataset but will perform clean.