Category Archives: Test

This category contains test pages.

Spring Boot: How to disable @Scheduled in unit tests

Spring framework exposes a nice feature to schedule some task: @Scheduled annotation. But this features makes very difficult unit test process – all scheduled tasks start work in any unit test where Spring scanning is used. It means  Advertisements

Rate this:

Posted in java, Programming, Scala, Test | Tagged , , , , , , | Leave a comment