Last active
March 31, 2021 17:44
-
-
Save yusuke024/6785f7d4048cae34e60553908964d725 to your computer and use it in GitHub Desktop.
Run XCTest in playground
This file contains hidden or 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
import XCTest | |
class MyTestCase: XCTestCase { | |
func testExample() { | |
measure { | |
// Code to measure | |
} | |
} | |
} | |
MyTestCase.defaultTestSuite.run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment