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

Trainer succeeds even though one of the test targets of the scheme has failed #15

Open
nikolaykasyanov opened this issue Jun 8, 2017 · 1 comment

Comments

@nikolaykasyanov
Copy link

My scheme includes two test targets, one for logic tests and one for application tests. Xcode generates one test summaries plist for both, although when one of them fails to launch (thanks Xcode), the resulting plist contains empty list of tests for that target.

Here's an excerpt from plist:

<dict><!-- the target that has failed to launch -->
        <key>ProjectPath</key>
        <string>Whatever.xcodeproj</string>
        <key>TargetName</key>
        <string>LogicTests</string>
        <key>TestName</key>
        <string>LogicTests</string>
        <key>TestObjectClass</key>
        <string>IDESchemeActionTestableSummary</string>
        <key>Tests</key>
        <array/>
</dict>

Trainer considers this as a success.

I'm not sure how to solve this, though.

@BrianBatchelder
Copy link

Perhaps an empty array of tests should be a failure?

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

2 participants