1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//! Tests of the crate's own surface — everything reachable from the crate
//! root — one module per subject.
//!
//! A test that needs an item its own module keeps to itself lives beside that
//! module instead, as `src/<module>/tests/`, where the privacy rules let it
//! in. When a subject is tested from both places, the shape both are worked
//! out over lives here in a `*_fixture` module rather than being written twice;
//! those hold no tests of their own. The `tests/` directory at the repository
//! root is a third place: those
//! are separate crates, so they see vitri exactly as a dependent would, and
//! they are where the binary itself gets driven. The helpers every test
//! reaches for live in one file, `tests/common/mod.rs`, pulled in below and by
//! each of those crates in turn.
pub
pub
pub
pub
pub
pub
pub