Pattern: Missing description for XCTFail()
Issue: -
An XCTFail
call should include a description of the assertion.
Examples of correct code:
func testFoo() {
XCTFail("bar")
}
func testFoo() {
XCTFail(bar)
}
Examples of incorrect code:
func testFoo() {
↓XCTFail()
}
func testFoo() {
↓XCTFail("")
}