-
Notifications
You must be signed in to change notification settings - Fork 13
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
Test xml.file is not generated #12
Comments
Please try to add following code:
Then modify your tests, so as to inherit from this particular class, it should works. |
Thanks, but I had to modify it a bit for it to work. This needs to be called before the very first test case is executed otherwise the first testcase is missing out in the resulting tests.xml.
This has to be the first executed test case and leads to all subsequent test cases being included in the tests.xml. I also think that this approach wouldn't break the LinuxMain.swift, as the testInit() function is not included in the overall allTests variable. So I hope this won't get executed. Because setting |
Hi, I am working on a Mac and I am building a plain Swift project (no Xcode project).
I've done all steps in the Readme (without the steps for Xcode, as it is no Xcode project) but no test.xml file is getting generated. What am I doing wrong or where can I find the generated junit xml-file?
I am doing the following:
This is my Package.swift:
My Swift version: Apple Swift version 5.2.2 (swiftlang-1103.0.32.6 clang-1103.0.32.51)
The text was updated successfully, but these errors were encountered: