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

Assign test setup classes to NSPrincipalClass

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.0.8
    • Component/s: None
    • Labels:
      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

              Assignee:
              kaitlin.mahar Kaitlin Mahar
              Reporter:
              jmikola Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: