I'd like to enhance the test runner for XCTest on Linux and Windows. Currently you have to include all the tests in a file and it would be very nice to have them discovered as they are with the macOS xcode/objc version. Poking through Mirror/RemoteMirror, there doesn't seem to be a way to enumerate class definitions in Swift, I assume you'd need something like objc_getClassList(_:_:)
but for Swift. So a few questions:
- Is class/test enumeration possible given the current reflection capabilities?
- If not, what would need to be added?
- And how difficult would it be to implement the things that need to be added?