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 these features make very difficult unit test process – all scheduled tasks start to work in any unit test where Spring scanning is used. It means 

Rate this:

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