We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaef09b commit eca81d4Copy full SHA for eca81d4
1 file changed
src/contributing/testing.md
@@ -25,10 +25,12 @@ with `#[test]` annotations. You can run unit tests with `./mach test-unit`. Exam
25
./mach test-unit -p servo-net test_fetch_response_is_not_network_error
26
```
27
28
+To be able to run unit tests for a new crate, you need to add the name of the crate to
29
+`self_contained_tests` in `python/servo/testing_commands.py`.
30
+
31
Running the whole test-suite can be very memory intensive, you can dampen this behaviour somewhat with
32
with restricting the amount of compiled crates with `./mach test-unit -j 4`.
33
-
34
## Integration Tests
35
Tests are located in the `tests` directory.
36
You'll see that there are a lot of files in there, so finding the proper location for your test is not always obvious.
0 commit comments