File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -664,9 +664,16 @@ It can be set back to the old pre Spock 2.0 behaviour by setting
664664 will be thrown at runtime.
665665
666666// tag::breaking-change-removed-ant-support[]
667- ==== Ant support removed
668- `SpecClassFileSelector` was removed, which was the only class that required `ant`.
669- If you are still using spock with `ant`, then you can just copy the class from the spock source code into your build.
667+ ==== Ant custom selector removed
668+ The class `SpecClassFileSelector` that could be used to only select actual Spock specification classes when testing
669+ and creating a test report was removed. It was the only class that required `ant` and was basically just a one-line
670+ forward to the `SpecClassFileFinder` which is still available.
671+
672+ If you are still using Spock with `ant`, then you can just copy the class from the spock source code into your build,
673+ or you simply use a `<scriptselector>` that does this forwarding as shown in the `spock-example` project.
674+
675+ Alternatively, you can also use a naming convention to find the classes that are actual specifications and not helper
676+ or base classes, or you live with a bit of wasted time and some meaningless entries in the test reports.
670677// end::breaking-change-removed-ant-support[]
671678
672679=== Misc
You can’t perform that action at this time.
0 commit comments