|
1 | 1 | [[release-notes]] |
2 | 2 | = Release Notes |
3 | | - |
4 | 3 | include::include.adoc[] |
| 4 | +:SpecClassFileSelector: https://github.com/spockframework/spock/blob/03818ed010f4b4ca1136a292e214f79d518c4abe/spock-core/src/main/java/org/spockframework/buildsupport/ant/SpecClassFileSelector.java |
| 5 | +:scriptselector: {spock-example-project}/blob/963fd34d1609b7025ba92502483ce31b2c6d9d0a/build.xml#L167-L176 |
5 | 6 |
|
6 | 7 | == 2.4 (tbd) |
7 | 8 |
|
@@ -673,8 +674,9 @@ The class `SpecClassFileSelector` that could be used to only select actual Spock |
673 | 674 | and creating a test report was removed. It was the only class that required `ant` and was basically just a one-line |
674 | 675 | forward to the `SpecClassFileFinder` which is still available. |
675 | 676 |
|
676 | | -If you are still using Spock with `ant`, then you can just copy the class from the spock source code into your build, |
677 | | -or you simply use a `<scriptselector>` that does this forwarding as shown in the `spock-example` project. |
| 677 | +If you are still using Spock with `ant`, then you can just copy {SpecClassFileSelector}[the class from the spock source code] |
| 678 | +into your build, or you simply use a {scriptselector}[`<scriptselector>`] that does this forwarding as shown in the |
| 679 | +{spock-example-project}[Spock Example Project]. |
678 | 680 |
|
679 | 681 | Alternatively, you can also use a naming convention to find the classes that are actual specifications and not helper |
680 | 682 | or base classes, or you live with a bit of wasted time and some meaningless entries in the test reports. |
@@ -1233,7 +1235,7 @@ Howard M. Lewis Ship, Ken Sipe, Venkat Subramaniam, Russel Winder. |
1233 | 1235 | * Improved and restyled reference documentation at https://docs.spockframework.org. Generated with |
1234 | 1236 | https://asciidoctor.org/[Asciidoctor] (what else?). |
1235 | 1237 | * Maven plugin removed. Just let Maven Surefire run your Spock specs like your JUnit tests |
1236 | | - (see https://examples.spockframework.org[spock-example] project). |
| 1238 | + (see {spock-example-project}[spock-example] project). |
1237 | 1239 | * Official support for Java 1.8, Groovy 2.3 and Groovy 2.4. Make sure to pick the `groovy-2.0` binaries for Groovy |
1238 | 1240 | 2.0/2.1/2.2, `groovy-2.3` binaries for Groovy 2.3, and `groovy-2.4` binaries for Groovy 2.4 and higher. |
1239 | 1241 | * Improved infrastructure to allow for easier community involvement: Switch to |
@@ -1791,7 +1793,7 @@ their types inferred from the values in the table (!). |
1791 | 1793 | === GitHub Repository |
1792 | 1794 |
|
1793 | 1795 | All source code has moved to https://github.spockframework.org/. The https://github.spockframework.org/spock-grails[Grails Spock plugin], |
1794 | | -https://github.spockframework.org/spock-example[Spock Example] project, and |
| 1796 | +{spock-example-project}[Spock Example] project, and |
1795 | 1797 | https://github.spockframework.org/spockwebconsole[Spock Web Console] now have their own GitHub projects. |
1796 | 1798 | Also available are slides and code for various Spock presentations (such as |
1797 | 1799 | https://github.spockframework.org/smarter-testing-with-spock[this one]). |
|
0 commit comments