@@ -79,6 +79,7 @@ Underscores (except at the beginning of an identifier) are disallowed.
7979
8080This rule does not apply to test code, defined as code which:
8181 * Contains the line ` import XCTest `
82+ * The function is marked with ` @Test ` attribute
8283
8384Lint: If an identifier contains underscores or begins with a capital letter, a lint error is
8485 raised.
@@ -188,6 +189,7 @@ Force-unwraps are strongly discouraged and must be documented.
188189
189190This rule does not apply to test code, defined as code which:
190191 * Contains the line ` import XCTest `
192+ * The function is marked with ` @Test ` attribute
191193
192194Lint: If a force unwrap is used, a lint warning is raised.
193195
@@ -199,6 +201,7 @@ Force-try (`try!`) is forbidden.
199201
200202This rule does not apply to test code, defined as code which:
201203 * Contains the line ` import XCTest `
204+ * The function is marked with ` @Test ` attribute
202205
203206Lint: Using ` try! ` results in a lint error.
204207
@@ -214,6 +217,7 @@ Certain properties (e.g. `@IBOutlet`) tied to the UI lifecycle are ignored.
214217
215218This rule does not apply to test code, defined as code which:
216219 * Contains the line ` import XCTest `
220+ * The function is marked with ` @Test ` attribute
217221
218222TODO: Create exceptions for other UI elements (ex: viewDidLoad)
219223
0 commit comments