Details
Description
item 1
after upgrading from 1.2-M4 to 1.2-RC1 my integration-test-classes
seem to be executed twice.
the command i execute is:
monospaced
grails test-app integration: com.mycompany.myapp.DataModelIntegration -clean
monospaced
the output is:
monospaced
-------------------------------------------------------
Running 2 integration tests...
Running test com.mycompany.myapp.DataModelIntegrationTests...PASSED
Running test com.mycompany.myapp.DataModelIntegrationTests...PASSED
Tests Completed in 2672ms ...
-------------------------------------------------------
Tests passed: 6
Tests failed: 0
-------------------------------------------------------
monospaced
DataModelIntegrationTests.groovy contains 3 test-methods
same also happens, when i execute:
monospaced
grails test-app com.mycompany.myapp.DataModelIntegration -clean -integration
monospaced
item 2
[this may not have to categorized as a bug]
by mistake i forgot the colon of 'integration:'
monospaced
grails test-app integration com.mycompany.myapp.DataModelIntegration -clean
monospaced
and got a:
Error executing script TestApp: java.lang.StringIndexOutOfBoundsException: Strin
g index out of range: -1
Issue Links
| This issue is duplicated by: | ||||
| GRAILS-5530 | exceptions/bad test counts (or running tests twice) when specifiying individual tests to run with grails 1.2 RC1 |
|
|
|
| GRAILS-5534 | Unit tests run twice |
|
|
|
Helmut,
I am having trouble reproducing item 1
Are you able to attach your project?