Skip to content

Commit ad47dc1

Browse files
committed
Rename integration testing -> ecosystem testing
1 parent 00af8a6 commit ad47dc1

File tree

4 files changed

+31
-52
lines changed

4 files changed

+31
-52
lines changed

src/SUMMARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
- [Compiletest](./tests/compiletest.md)
2626
- [UI tests](./tests/ui.md)
2727
- [Test headers](./tests/headers.md)
28-
- [Integration testing](./tests/integration.md)
28+
- [Ecosystem testing](./tests/ecosystem.md)
2929
- [Crater](./tests/crater.md)
3030
- [Fuchsia](./tests/fuchsia.md)
3131
- [Rust for Linux](./tests/rust-for-linux.md)

src/tests/ecosystem.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Ecosystem testing
2+
3+
Rust tests integration with real-world code in the ecosystem to catch
4+
regressions and make informed decisions about the evolution of the language.
5+
6+
## Testing methods
7+
8+
### Crater
9+
10+
Crater is a tool which runs tests on many thousands of public projects. This
11+
tool has its own separate infrastructure for running, and is not run as part of
12+
CI. See the [Crater chapter](crater.md) for more details.
13+
14+
### `cargotest`
15+
16+
`cargotest` is a small tool which runs `cargo test` on a few sample projects
17+
(such as `servo`, `ripgrep`, `tokei`, etc.). This runs as part of CI and ensures
18+
there aren't any significant regressions.
19+
20+
> Example: `./x test src/tools/cargotest`
21+
22+
### Large OSS Project builders
23+
24+
We have CI jobs that build large open-source Rust projects that are used as
25+
regression tests in CI. Our integration jobs build the following projects:
26+
27+
- [Fuchsia](fuchsia.md)
28+
- [Rust for Linux](rust-for-linux.md)

src/tests/integration.md

Lines changed: 0 additions & 49 deletions
This file was deleted.

src/tests/intro.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ can be found in the [toolstate documentation].
147147

148148
Rust tests integration with real-world code to catch regressions and make
149149
informed decisions about the evolution of the language. There are several kinds
150-
of ecosystem tests, including Crater. See the [Integration testing
151-
chapter](integration.md) for more details.
150+
of ecosystem tests, including Crater. See the [Ecosystem testing
151+
chapter](ecosystem.md) for more details.
152152

153153
### Performance testing
154154

0 commit comments

Comments
 (0)