Uploaded image for project: 'Swift Driver'
  1. Swift Driver
  2. SWIFT-118

Assign test setup classes to NSPrincipalClass

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 0.0.8
    • None
    • None

    Description

      SWIFT-72 introduced MongoSwiftBenchmarks.BenchmarkSetup and MongoSwiftTests.TestSetup classes, which need to be assigned to NSPrincipalClass in the plist files for each test suite. It's my understanding that this will only affect Xcode builds, so running tests from the macOS command line may require a separate solution.

      For additional context, see the final paragraphs of https://stackoverflow.com/a/41895011/162228.

      Attachments

        Issue Links

          Activity

            People

              kaitlin.mahar@mongodb.com Kaitlin Mahar
              jmikola@mongodb.com Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: