Skip to content
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

Processing SureFire report TestReport.xml - Unable to locate Swift test source file for classname #291

Open
Sowmiya-N-P opened this issue May 20, 2021 · 0 comments

Comments

@Sowmiya-N-P
Copy link

Sowmiya-N-P commented May 20, 2021

During execution of ./run-sonar-swif.sh -v, TestReport.xml is generated, but show warning in terminal

Unable to locate swift test source file for classname Connected_Crew_Tests.AppGlobalsTests. Make sure your test class name matches its filename.

TestReport.xml looks like

testsuites name='Connected Crew Tests.xctest' tests='128' failures='0'
testsuite name='Connected_Crew_Tests.AppGlobalsTests' tests='5' failures='0'
testcase classname='Connected_Crew_Tests.AppGlobalsTests' name='testAppInfo' time='0.810'

There is a space in test folder name .Test folder name is Connected Crew Tests. But while generating report it is taking as Connected_Crew_Tests instead of Connected Crew Tests and throws warning. How to fix this error?. Unit Test reports are not report in dashboard.

@SakshiJainAirfi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant