wickwirew / Runtime

A Swift Runtime library for viewing type info, and the dynamic getting and setting of properties.
MIT License
1.08k stars 94 forks source link

Package.swift doesn't run tests #7

Closed helje5 closed 6 years ago

helje5 commented 6 years ago

The new Package.swift w/ the old dir layout doesn't run the tests anymore:

helge@ZeaPro Runtime (feature/macos2)*$ swift test
Compile Swift Module 'Runtime' (41 sources)
error: no tests found; create a target in the 'Tests' directory

Neither on macOS nor on Linux.

wickwirew commented 6 years ago

In progress now.

wickwirew commented 6 years ago

Hey if you wouldn't mind checking out the linux-tests branch. There is a python script, in the Scripts/ folder to generate all of the test cases so nothing has to be managed. So if a test case is added in Xcode no one has to remember to update the allTests arrays (I will forget). I don't have a Linux env anymore thanks to hurricane Irma, so if you could try it out that'd be great