Skip to content

Commit

Permalink
Removed minor outdated part of documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bsekachev committed Jan 30, 2025
1 parent 2ca90b0 commit 5b82279
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
2 changes: 0 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
}
],
"npm.exclude": "**/.env/**",
"licenser.license": "Custom",
"licenser.customHeader": "Copyright (C) @YEAR@ CVAT.ai Corporation\n\nSPDX-License-Identifier: MIT",
"files.trimTrailingWhitespace": true,
"sqltools.connections": [
{
Expand Down
2 changes: 0 additions & 2 deletions site/content/en/docs/contributing/development-environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ description: 'Installing a development environment for different operating syste
- [Python](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
- [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
- [Stylelint](https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint)
- [Prettier Formatter for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
- [licenser](https://marketplace.visualstudio.com/items?itemName=ymotongpoo.licenser)
- [Trailing Spaces](https://marketplace.visualstudio.com/items?itemName=shardulm94.trailing-spaces)
- [Code Spell Checker](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker)

Expand Down
14 changes: 2 additions & 12 deletions site/content/en/docs/contributing/running-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,17 +132,13 @@ Extra options:
variables in the `docker-compose.dev.yml`


# Unit tests
# Server unit tests

**Initial steps**
1. Install necessary Python dependencies:
```
pip install -r cvat/requirements/testing.txt
```
1. Install npm dependencies:
```
yarn --frozen-lockfile
```
1. Build CVAT server image
```
docker compose -f docker-compose.yml -f docker-compose.dev.yml build cvat_server
Expand All @@ -163,13 +159,7 @@ If you want to get a code coverage report, run the next command:
coverage run manage.py test --settings cvat.settings.testing cvat/apps -v 2
```

1. JS tests
```
cd cvat-core
yarn run test
```

**Debug python unit tests**
**Debugging**
1. Run `server: tests` debug task in VSCode
1. If you want to debug particular tests then change the configuration
of the corresponding task in `./vscode/launch.json`, for example:
Expand Down

0 comments on commit 5b82279

Please sign in to comment.