Skip to content

Instantly share code, notes, and snippets.

@ck3g
Last active March 26, 2018 07:09
Show Gist options
  • Save ck3g/1ab9abf706d4fddda028dc0d99a1b8ed to your computer and use it in GitHub Desktop.
Save ck3g/1ab9abf706d4fddda028dc0d99a1b8ed to your computer and use it in GitHub Desktop.
TDD in XCode Playground
// 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