Uploaded image for project: 'Swift'
  1. Swift
  2. SR-32

Find way to make allTests required / audited on OS X

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Duplicate
    • Component/s: XCTest
    • Labels:
      None

      Description

      We currently have to add allTests entries for each test to work around the lack of auto-discovery on Linux. This is a source of error when adding new tests and developing on OS X as it is easy to forget.

      We should see if we can use the method discovery features on OS X to verify that the allTests method has been implemented and contains all of the available tests. This would ensure that it isn't possible to add new tests and forget to update the list.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ddunbar Daniel Dunbar
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: