parent
c80f63610c
commit
1b7a850fad
|
@ -96,7 +96,7 @@ If you are adding a new feature, you should add it to the `full` feature in our
|
||||||
|
|
||||||
You can run these tests yourself with
|
You can run these tests yourself with
|
||||||
```cargo xtask ci```
|
```cargo xtask ci```
|
||||||
See [it's documentation](https://github.com/PyO3/pyo3/tree/main/xtask#readme)for more commands you can run.
|
See [its documentation](https://github.com/PyO3/pyo3/tree/main/xtask#readme) for more commands you can run.
|
||||||
|
|
||||||
## Python and Rust version support policy
|
## Python and Rust version support policy
|
||||||
|
|
||||||
|
@ -132,7 +132,7 @@ Second, there is a Python-based benchmark contained in the `pytests` subdirector
|
||||||
|
|
||||||
You can view what code is and isn't covered by PyO3's tests. We aim to have 100% coverage - please check coverage and add tests if you notice a lack of coverage!
|
You can view what code is and isn't covered by PyO3's tests. We aim to have 100% coverage - please check coverage and add tests if you notice a lack of coverage!
|
||||||
|
|
||||||
- First, generate a `lcov.info` file with
|
- First, generate a `lcov.info` file with
|
||||||
```shell
|
```shell
|
||||||
cargo xtask coverage
|
cargo xtask coverage
|
||||||
```
|
```
|
||||||
|
@ -140,7 +140,7 @@ You can install an IDE plugin to view the coverage. For example, if you use VSCo
|
||||||
- Add the [coverage-gutters](https://marketplace.visualstudio.com/items?itemName=ryanluker.vscode-coverage-gutters) plugin.
|
- Add the [coverage-gutters](https://marketplace.visualstudio.com/items?itemName=ryanluker.vscode-coverage-gutters) plugin.
|
||||||
- Add these settings to VSCode's `settings.json`:
|
- Add these settings to VSCode's `settings.json`:
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"coverage-gutters.coverageFileNames": [
|
"coverage-gutters.coverageFileNames": [
|
||||||
"lcov.info",
|
"lcov.info",
|
||||||
"cov.xml",
|
"cov.xml",
|
||||||
|
|
Loading…
Reference in a new issue