Skip to content

Commit 3b8e060

Browse files
authored
Update _xctest.md
1 parent ca4c17e commit 3b8e060

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
## XCTest
22

3-
The XCTest library is designed to provide a common framework for writing unit tests in Swift, for Swift packages and applications.
3+
The XCTest library provides a common framework for writing unit tests in Swift, for Swift packages and applications.
44

5-
This version of XCTest uses the same API as the XCTest you are familiar with from Xcode. Our goal is to enable your project's tests to run on all Swift platforms without having to rewrite them.
5+
This version of XCTest uses the same API as the XCTest you may be familiar with from Xcode. Our goal is to enable your project's tests to run on all Swift platforms without having to rewrite them.
6+
7+
While XCTest remains supported, [Swift Testing](https://github.com/swiftlang/swift-testing) is the recommended framework for writing new tests. Swift Testing offers a modern, expressive, and extensible approach to testing in Swift, and represents the direction of future development.
8+
9+
If you already have tests written using XCTest, you can run them side-by-side with newer tests written using Swift Testing.
610

711
More information about XCTest on Linux is available on our [GitHub project page](http://www.github.com/swiftlang/swift-corelibs-xctest).

0 commit comments

Comments
 (0)