Skip to content

Commit

Permalink
Fixed ambiguous explanaiton of tests/ directory
Browse files Browse the repository at this point in the history
  • Loading branch information
JDemler committed Jun 3, 2016
1 parent 0646e8a commit d71f9f6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/doc/book/testing.md
Expand Up @@ -380,8 +380,9 @@ the `tests` directory.

# The `tests` directory

To write an integration test, let's make a `tests` directory, and
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
put a `tests/integration_test.rs` file inside, with this as its contents:

```rust,ignore
extern crate adder;
Expand Down

0 comments on commit d71f9f6

Please sign in to comment.