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

`swift test` should have more flexible test selection

    XMLWordPrintable

    Details

      Description

      I'm using a Makefile for a few projects where `make test` runs `swift test`. I'd like to be able to exclude a few tests (hardware-specific) by default, and have other Makefile targets like `make testhw` to run the full set.

      The --filter CLI option doesn't seem to be flexible enough to either exclude tests or specify multiple filter patterns.

      $ swift test --filter FuzzerTests --filter MemoryTests --filter PCITests

      Will only run the last filter pattern specified - PCITests. Either allowing the specification of multiple filters, or adding an --exclude or similar option would do what I need, but I think both would be useful.

        Attachments

          Activity

            People

            Assignee:
            keith Keith Smiley
            Reporter:
            neonichu Boris Buegling
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: