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 0646e8a commit d71f9f6Copy full SHA for d71f9f6
src/doc/book/testing.md
@@ -380,8 +380,9 @@ the `tests` directory.
380
381
# The `tests` directory
382
383
-To write an integration test, let's make a `tests` directory, and
384
-put a `tests/lib.rs` file inside, with this as its contents:
+Each file in `tests/*.rs` directory is treated as individual crate.
+So, to write an integration test, let's make a `tests` directory, and
385
+put a `tests/integration_test.rs` file inside, with this as its contents:
386
387
```rust,ignore
388
extern crate adder;
0 commit comments