-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation: JUNIT output setup defined #181
Comments
Found the way to get output file: ./shunit2/shunit2 -- --output-junit-xml=/output/junit.xml Having |
The shellcheck itselfs waits |
when I tried to use following in my test script, ones executed it gives an error.
Output : I tried using below as well as mentioned in the comments here. Output: Ran 1 test. FAILED (failures=1) Can someone please guide me on how to generate Junit similar test reports for the unit tests I have written using shunit2? |
Hi @wiki5 I'm running the latest env \
XUNIT_LAUNCHER="${REPO_ROOT}/external/shunit2/shunit2" \
"./helloWorldTest.sh" \
-- \
"--output-junit-xml=mysuit.xml" \
"--suite-name=myprefix::mysuit" \ The #!/bin/sh
testUnitFrameworkWorks() {
assertEquals 1 1
}
# Launch tests
. "${XUNIT_LAUNCHER}" |
Thank you let me try this out. |
Looks like it was fixed by #184, isn't it? |
It seems that JUnit report support was released with the last merge, however there is no documentation how to use and setup. I would appreciate the readme.md update.
PR #176
@williamdes / @AJIOB
The text was updated successfully, but these errors were encountered: