SBT / Activator does not run all tests in my project. Is something missing?
For example, this is a test:
public class ApplicationTest {
@Test
public void simpleCheck() {
int a = 1 + 1;
assertThat(a).isEqualTo(2);
}
@Test
public void renderTemplate() {
assert(1==1);
}
}
In the test folder there are all the attributes expected by junit, but it does not execute when I run 'sbt test' or 'test test. It seems that files are running that end with IntegrationTest ... Is there something I need to do differently? Unable to find a solution.
source
share