stsievert / swix

Swift Matrix Library
http://docs.stsievert.com/swix/
MIT License
593 stars 54 forks source link

use XCTest to perform regression test #30

Closed thomaskilian closed 7 years ago

thomaskilian commented 7 years ago

Hi Scott, as promised, here's the transfer to XCTest. It might look a bit weird in the beginning, but it's rather easy to use. pic 2016-10-22 um 18 18 55 Just click in the litte diamond near the class to run the full test. Or near a single function for a single test. It might take a bit longer since the timing tests are done 10 times and you can see the average from the result: pic 2016-10-22 um 18 24 11

stsievert commented 7 years ago

I had checked this PR out, but I couldn't get it to compile and run main.swift (again). The "play" button was greyed out and Xcode complained about not having a target to build.

Sorry for the lack of response, I'm not opposed to having this functionality present. I do want to move towards the "default" layout for Swift packages as with the Swift Package Manager. I'm betting that XCTest will be included with that.