Last active
March 26, 2018 07:09
-
-
Save ck3g/1ab9abf706d4fddda028dc0d99a1b8ed to your computer and use it in GitHub Desktop.
TDD in XCode Playground
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Original article: https://m.pardel.net/tdd-in-xcode-playgrounds-544a95db11e2 | |
import XCTest | |
struct Todo { | |
} | |
class TodoTests: XCTestCase { | |
override func setUp() { | |
super.setUp() | |
} | |
override func tearDown() { | |
super.tearDown() | |
} | |
func testTodo() { | |
XCTAssertNotNil(Todo()) | |
} | |
} | |
TodoTests.defaultTestSuite().run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment