grails-core
grails-core copied to clipboard
open test-report command is opening incorrect path
Expected Behavior
when you use open test-report in grails CLI as denoted in documentation https://docs.grails.org/latest/guide/testing.html it should open up the report, which currently grails generates in path: build/reports/tests/test/index.html
Actual Behaviour
It throws an error |
Error Error opening file build/reports/tests/index.html: The file: build/reports/tests/index.html doesn't exist. (Use --stacktrace to see the full trace)
observe, the path mentioned is different, it lacks the "test" folder after the "tests" folder.
Steps To Reproduce
- Create new app with grails create-app
- Create a new service. This should generate a spec with a broken test, if it doesn't add the spec and add a failing test.
- Run tests with grails test-app
- Run open test-report
Environment Information
macOS Ventura Java 11
Example Application
No response
Version
5.2.5