-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# ept | ||
## 单元测试 | ||
* (可选)在根目录中创建 `config.toml` 文件并指定 `local.base` 用于隔离测试安装环境 | ||
* 执行 `cargo test -- --test-threads 1` | ||
* 如需要查看单测覆盖率,请安装 [tarpaulin](https://github.com/xd009642/tarpaulin) 后执行 `cargo tarpaulin -o html --exclude-files test/** --exclude-files node_modules/**` | ||
* 执行 `pnpm rust:ut` | ||
* 如需要查看单测覆盖率,请安装 [tarpaulin](https://github.com/xd009642/tarpaulin) 后执行 `pnpm rust:ut:coverage` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters