Closed Kastet closed 5 years ago
Hi @Kastet. Could you give some more information.
Do you mean the SwagGen codebase? If so and you've created an xcode project with swift package generate-xcodeproj
, then yes just select the SwagGen scheme and press Cmd+U.
If you mean the generated Swift API then it totally depends on how you integrate it into your codebase. The generated code doesn't include any tests
Wait I just tried running the tests via Xcode in SwagGen and I can see your issue. This is an integration issue with the test runner Spectre, and needs to be fixed 👍
In the meantime if you want to run the tests you can run swift test
in the repo directory
Thanks @yonaskolb and apologies for the poor description.
Yes I ended up running tests using SPM. It's the first time I used it - pretty cool.
Strange, I went to fix this but found it isn't an issue anymore. Perhaps the update to Xcode 10.2 fixed something
Just tried with Xcode10.2 and still able to reproduce
Is XCTest supported? I tried Cmd+U and was getting