You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/instructions/rules-testing.instructions.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ applyTo: "**/*checks*/**/*.java"
4
4
Each rule implementation needs to be well tested.
5
5
To do so, we have powerful utilities in `PythonCheckVerifier` that allows for verification.
6
6
7
-
You can run the test for a given class with the shell command `mvn verify -DskipTypeshed -DskipObfuscation -f"python-checks/pom.xml" -Dtest=$YOUR_TEST_CLASS`
7
+
You can run the test for a given class with the shell command `mvn verify -DskipObfuscation -f"python-checks/pom.xml" -Dtest=$YOUR_TEST_CLASS`
8
8
Replace the $YOUR_TEST_CLASS by the name of the test class, usually of the form SleepZeroInAsyncCheckTest for the SleepZeroInAsyncCheck rule.
9
9
10
10
Look carefully at the terminal output, and make sure the test was successful.
0 commit comments