TestSummaries | generate HTML file from TestSummaries.plist
kandi X-RAY | TestSummaries Summary
kandi X-RAY | TestSummaries Summary
TestSummaries is able to generate HTML file from TestSummaries.plist to --outputPath on Terminal of osx.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of TestSummaries
TestSummaries Key Features
TestSummaries Examples and Code Snippets
Community Discussions
Trending Discussions on TestSummaries
QUESTION
After running unit tests, I used to find two files in the Tests folder for the Derived Data of Xcode - StandardOutputAndStandardError.txt and TestSummaries.plist files. However, in Xcode 10 I'm unable to find these files. How can I get the test logs in Xcode 10.
...ANSWER
Answered 2018-Oct-30 at 10:45StandardOutputAndStandardError.txt file, you are looking for, is now located in:
QUESTION
Working with XCTest. While testing testresults are saved in TestSummaries.plist at path:
/Users/smriti/Library/Developer/Xcode/DerivedData/Project_name/Logs/Test/
Can anyone tell how to read contents of TestSummaries.plist file from above path?
Need to capture result data(error msg, test case, line number) from above file and write to excel in function tearDown()
Tried using
NSSearchPathForDirectoriesInDomains(.AllLibrariesDirectory, .AllDomainsMask, true) -> Doesn't give desired path.
NSBundle.mainBundle gives path for "Project_name/Build/Products/" not for "/Project_name/Logs/Test/"
ANSWER
Answered 2017-Jan-06 at 08:13You would need to write a post-test script to export the results since the TestSummaries.plist file is not available until the test run has finished.
It's not possible to export test results during the teardown of a test since the test is only finished when teardown has been completed. Teardown actions should be actions to tie off loose ends from the test and reset the state of the application under test, rather than for post-test processing.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install TestSummaries
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page