mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-17 11:25:04 +00:00
Update the Swift starting point
- Ignore the generated Xcode project from the repositiory - Bump the swift tools version to 5.5 (supported by Xcode 13+) - Tidy the Tests. LinuxMain, XCTestManifests and the allTests array are no longer needed as tests - are auto-discovered on non-apple platforms
This commit is contained in:
1 parent
1a81118c63
commit
080738a8b2
5 files changed
+3
-21
No files matched your search
@@ -9,8 +9,4 @@ class GildedRoseTests: XCTestCase {
|
||||
app.updateQuality()
|
||||
XCTAssertEqual(app.items[0].name, "fixme")
|
||||
}
|
||||
|
||||
static var allTests = [
|
||||
("testFoo", testFoo),
|
||||
]
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
import XCTest
|
||||
|
||||
#if !canImport(ObjectiveC)
|
||||
public func allTests() -> [XCTestCaseEntry] {
|
||||
return [
|
||||
testCase(GildedRoseTests.allTests),
|
||||
]
|
||||
}
|
||||
#endif
|
||||
@@ -1,7 +0,0 @@
|
||||
import XCTest
|
||||
|
||||
import GildedRoseTests
|
||||
|
||||
var tests = [XCTestCaseEntry]()
|
||||
tests += GildedRoseTests.allTests()
|
||||
XCTMain(tests)
|
||||
Reference in new issue
Block a user