File tree 4 files changed +14
-14
lines changed
4 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -59,9 +59,9 @@ on writing doc tests.
59
59
60
60
### Working directory of tests
61
61
62
- The working directory of every test is set to the root directory of the package
63
- the test belongs to.
64
- Setting the working directory of tests to the package's root directory makes it
62
+ The working directory when running each unit and integration test is set to the
63
+ root directory of the package the test belongs to.
64
+ Setting the working directory of tests to the package's root directory makes it
65
65
possible for tests to reliably access the package's files using relative paths,
66
66
regardless from where ` cargo test ` was executed from.
67
67
Original file line number Diff line number Diff line change @@ -53,11 +53,11 @@ DESCRIPTION
53
53
information on writing doc tests.
54
54
55
55
Working directory of tests
56
- The working directory of every test is set to the root directory of the
57
- package the test belongs to. Setting the working directory of tests to
58
- the package’s root directory makes it possible for tests to reliably
59
- access the package’s files using relative paths, regardless from where
60
- cargo test was executed from.
56
+ The working directory when running each unit and integration test is set
57
+ to the root directory of the package the test belongs to. Setting the
58
+ working directory of tests to the package’s root directory makes it
59
+ possible for tests to reliably access the package’s files using
60
+ relative paths, regardless from where cargo test was executed from.
61
61
62
62
For documentation tests, the working directory when invoking rustdoc is
63
63
set to the workspace root directory, and is also the directory rustdoc
Original file line number Diff line number Diff line change @@ -59,9 +59,9 @@ on writing doc tests.
59
59
60
60
### Working directory of tests
61
61
62
- The working directory of every test is set to the root directory of the package
63
- the test belongs to.
64
- Setting the working directory of tests to the package's root directory makes it
62
+ The working directory when running each unit and integration test is set to the
63
+ root directory of the package the test belongs to.
64
+ Setting the working directory of tests to the package's root directory makes it
65
65
possible for tests to reliably access the package's files using relative paths,
66
66
regardless from where ` cargo test ` was executed from.
67
67
Original file line number Diff line number Diff line change @@ -54,9 +54,9 @@ and may change in the future; beware of depending on it.
54
54
See the \fI rustdoc book \fR <https://doc.rust\- lang.org/rustdoc/> for more information
55
55
on writing doc tests.
56
56
.SS "Working directory of tests"
57
- The working directory of every test is set to the root directory of the package
58
- the test belongs to.
59
- Setting the working directory of tests to the package\[cq ] s root directory makes it
57
+ The working directory when running each unit and integration test is set to the
58
+ root directory of the package the test belongs to.
59
+ Setting the working directory of tests to the package\[cq ] s root directory makes it
60
60
possible for tests to reliably access the package\[cq ] s files using relative paths,
61
61
regardless from where \fB cargo test \fR was executed from.
62
62
.sp
You can’t perform that action at this time.
0 commit comments