chore: modify test info
This commit is contained in:
parent
13c65980ac
commit
d9a1285008
10
README.md
10
README.md
@ -254,13 +254,17 @@ BIN_APP_PATH := "/usr/local/bin"
|
|||||||
|
|
||||||
### For tests
|
### For tests
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
> The logger can only be initialized once per process<br>
|
||||||
|
> Test by default runs in parallel
|
||||||
|
|
||||||
|
> [!IMPORTANT]
|
||||||
|
> test use **--features test-sync** to run thread safe
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
cargo test --features test-sync
|
cargo test --features test-sync
|
||||||
```
|
```
|
||||||
|
|
||||||
> [!NOTE]
|
|
||||||
> The logger can only be initialized once per process<br>
|
|
||||||
> Test by default runs in parallel
|
|
||||||
|
|
||||||
Use **--nocapture** to see the output even when tests pass
|
Use **--nocapture** to see the output even when tests pass
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user