giovannicandido / generator-spring-spa

Best practices and production quality to start with a modern FrontEnd in AngularJS 2 or Aurelia, backend by Java Spring Boot Framework
MIT License
7 stars 4 forks source link

Disable security on integration tests #11

Open giovannicandido opened 7 years ago

giovannicandido commented 7 years ago

Is best to disable security in integration tests by default. And provide a way to test with security enabled

Possible API for secured test:

@RunWith(classOf[SpringJUnit4ClassRunner])
@IntegTestSecured
class ContextLoadTest extends IntegrationTest {
  @Test def context() {
  }
}