blibli-future / detroit

Project Detroit
5 stars 0 forks source link

Remove unnecessary `dirty context` from test #59

Open adhikasp opened 7 years ago

adhikasp commented 7 years ago

https://github.com/blibli-future/detroit/blob/master/src/test/java/com/blibli/future/detroit/controller/api/CategoryControllerTest.java#L37

This make test run very slow because the test need to restart spring instance for every test class that dirty the context.