I am relatively new to grails, so bare with me...
After upgrading the application to grails 2.3.0 functional tests will not run without the addition of the spock-grails-plugin (test "org.spockframework:spock-grails-support:0.7-groovy-2.0"). I get no errors, just simply no specs will run without it.
I have removed the :spock:0.7 plugin, but was under the impression there was no other requirement to use spock? Another side effect when including the spock-grails-support, the tests run but the output includes an error output:
{noformat}
--Output from startline .....
| Error --Output from startline .....
{noformat}
Which seems to be noted in, http://jira.grails.org/browse/GRAILS-10550.
Maybe I have completely misunderstood the nature of spock support in 2.3, but currently this appears not to be running as indicated in the docs.
Also please let me know what other supporting information needed to debug this one.
{noformat}
dependencies {
//Needed to work around Saxon / Xalan issue found in ant-trax 1.7.x
build 'org.apache.ant:ant-trax:1.8.0'
compile 'org.apache.ant:ant-trax:1.8.0'
// test "org.gebish:geb-junit4:$gebVersion" // Junit4 testing framework
test "org.gebish:geb-spock:$gebVersion" //testing adapters - geb-spock (for Spock Framework, requires the grails-spock plugin)
// test "org.spockframework:spock-grails-support:0.7-groovy-2.0" //TODO is this really needed for spock 0.7 plugin?
test "org.seleniumhq.selenium:selenium-chrome-driver:$seleniumVersion"
test "org.seleniumhq.selenium:selenium-support:$seleniumVersion"
test 'org.ccil.cowan.tagsoup:tagsoup:1.2.1' //LatexConverterServiceSpec.groovy
}
plugins {
// plugins for the build system only
build ':tomcat:7.0.42'
// plugins for the compile step
compile ':cxf-client:1.5.6'
compile ':searchable:0.6.5-SNAPSHOT'
runtime ':hibernate:3.6.10.1'
runtime ':compress:0.4'
runtime ":external-config-reload:1.4.1"
test ":geb:$gebVersion"
test ':browser-detection:0.4.3'
Original Reporter: leeroy Environment: Not Specified Version: 2.3 Migrated From: http://jira.grails.org/browse/GRAILS-10586
I am relatively new to grails, so bare with me... After upgrading the application to grails 2.3.0 functional tests will not run without the addition of the spock-grails-plugin (test "org.spockframework:spock-grails-support:0.7-groovy-2.0"). I get no errors, just simply no specs will run without it.
I have removed the :spock:0.7 plugin, but was under the impression there was no other requirement to use spock? Another side effect when including the spock-grails-support, the tests run but the output includes an error output: {noformat} --Output from startline ..... | Error --Output from startline ..... {noformat} Which seems to be noted in, http://jira.grails.org/browse/GRAILS-10550.
Maybe I have completely misunderstood the nature of spock support in 2.3, but currently this appears not to be running as indicated in the docs.
Also please let me know what other supporting information needed to debug this one.
{noformat} dependencies { //Needed to work around Saxon / Xalan issue found in ant-trax 1.7.x build 'org.apache.ant:ant-trax:1.8.0' compile 'org.apache.ant:ant-trax:1.8.0'
// test "org.gebish:geb-junit4:$gebVersion" // Junit4 testing framework test "org.gebish:geb-spock:$gebVersion" //testing adapters - geb-spock (for Spock Framework, requires the grails-spock plugin) // test "org.spockframework:spock-grails-support:0.7-groovy-2.0" //TODO is this really needed for spock 0.7 plugin? test "org.seleniumhq.selenium:selenium-chrome-driver:$seleniumVersion" test "org.seleniumhq.selenium:selenium-support:$seleniumVersion" test 'org.ccil.cowan.tagsoup:tagsoup:1.2.1' //LatexConverterServiceSpec.groovy }
plugins { // plugins for the build system only build ':tomcat:7.0.42'
} {noformat}