17 Commits

Author SHA1 Message Date
Maxim Zhiltsov bf75521e96 Make test DB dump output more stable (#10605) 2026-05-18 19:51:47 +03:00
Roman Donchenko 41a00febd4 tests/python: simplify the _run function (#10287)
1. Don't capture stderr. Nobody needs it, and it seems unlikely that
   anybody will.

2. Don't exit the process if the subprocess fails. Since this function
   is now (indirectly) used within individual tests, this behavior causes
   the testsuite to exit prematurely.

We don't really need to print a custom error message, because the
default exception message already contains the command line and status;
and since we no longer capture stderr, it'll be printed too. Stdout
will, unfortunately, not be printed, but it's not as important for
debugging.

Also, fix an issue where the subprocess status is not checked if
`capture_output` is false.
2026-02-25 13:23:39 +02:00
Oleg Valiulin b991aec05c restapi test tags in removed images on project export (#10002) 2025-11-14 13:19:47 +00:00
ruslan 070e14fdb2 Add unit tests for define_dependent_job function (#9657)
Add unit tests for define_dependent_job function that is responsible for queuing jobs in chains if they are created for the same user id. Also it removes old integration test that didn't provide enough coverage and was unstable in general.

Co-authored-by: Oleg Valiulin <liam141810@gmail.com>
2025-07-24 12:29:01 +02:00
Oleg Valiulin eb3629192b spell-checking integration (#9580)
Co-authored-by: Oleg Valiulin <oleg.valiulin@cvat.ai>
Co-authored-by: Roman Donchenko <roman@cvat.ai>

Typos spell-checker integration
Run `typos` to show typos in project
Run `typos -w` to autofix
2025-07-10 16:29:24 +01:00
Roman Donchenko df5678a921 Remove unnecessary models from data.json (#9096)
They are not used in tests, and just get in the way when you're
reviewing diffs.
2025-02-12 12:27:56 +02:00
Maxim Zhiltsov 3bc92dadb4 Extend test asset dump command (#9022) 2025-01-30 16:59:55 +03:00
Oleg Valiulin 90f12babfe Fix instructions for running tests (#8808)
Update instructions for running tests:

- for running docker without sudo, the user has to be in docker group
  (as per Docker's [Linux
  post-install](https://docs.docker.com/engine/install/linux-postinstall/))

- the referenced guide already has instructions for installing the local
  packages, no need to duplicate it here
2024-12-10 17:59:35 +02:00
Maxim Zhiltsov bd27827e10 Fix hidden points in skeleton comparison in quality checks (#7191)
- Now only the visible subset of the points is matched for both
  skeletons (previously, the GT skeleton visibility was used)
  This conforms with the overall IoU (or accuracy-based) approach to the
  quality metrics, used in other comparisons.

- Added protection from invalid numbers in the distance matching
  function to avoid similar problems with other annotations

- Updated python test docs about assets updating
2023-11-28 14:47:21 +02:00
Maria Khrustaleva fe2184490b Limit 1 user to 1 active task at a time (#7106)
The PR contains a REST API test that checks that a single user cannot
clog the import queue with his tasks.
2023-11-22 14:43:27 +02:00
Kirill Sizov fceeeeb69b Update README for REST API tests (#6971) 2023-10-10 15:58:47 +03:00
Anastasia Yasakova 9c8b8b2506 Fix development environment documentation (#6099)
<!-- Raise an issue to propose your change
(https://github.com/opencv/cvat/issues).
It helps to avoid duplication of efforts from multiple independent
contributors.
Discuss your ideas with maintainers to be sure that changes will be
approved and merged.
Read the [Contribution
guide](https://opencv.github.io/cvat/docs/contributing/). -->

<!-- Provide a general summary of your changes in the Title above -->

### Motivation and context
<!-- Why is this change required? What problem does it solve? If it
fixes an open
issue, please link to the issue here. Describe your changes in detail,
add
screenshots. -->
Updated development environment documentation (fixed links, moved some
steps)
### How has this been tested?
<!-- Please describe in detail how you tested your changes.
Include details of your testing environment, and the tests you ran to
see how your change affects other areas of the code, etc. -->

### Checklist
<!-- Go over all the following points, and put an `x` in all the boxes
that apply.
If an item isn't applicable for some reason, then ~~explicitly
strikethrough~~ the whole
line. If you don't do that, GitHub will show incorrect progress for the
pull request.
If you're unsure about any of these, don't hesitate to ask. We're here
to help! -->
- [x] I submit my changes into the `develop` branch
- [ ] I have added a description of my changes into the
[CHANGELOG](https://github.com/opencv/cvat/blob/develop/CHANGELOG.md)
file
- [x] I have updated the documentation accordingly
- [ ] I have added tests to cover my changes
- [ ] I have linked related issues (see [GitHub docs](

https://help.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword))
- [ ] I have increased versions of npm packages if it is necessary

([cvat-canvas](https://github.com/opencv/cvat/tree/develop/cvat-canvas#versioning),

[cvat-core](https://github.com/opencv/cvat/tree/develop/cvat-core#versioning),

[cvat-data](https://github.com/opencv/cvat/tree/develop/cvat-data#versioning)
and

[cvat-ui](https://github.com/opencv/cvat/tree/develop/cvat-ui#versioning))

### License

- [ ] I submit _my code changes_ under the same [MIT License](
https://github.com/opencv/cvat/blob/develop/LICENSE) that covers the
project.
  Feel free to contact the maintainers if that's a concern.
2023-05-22 12:14:33 +03:00
Anastasia Yasakova 7a7267d35c Update REST API tests documentation (#5993) 2023-04-07 13:30:27 +03:00
Anastasia Yasakova 1fdead39b5 Generalization of functions for running REST API tests (#5826) 2023-03-14 21:32:29 +02:00
Maria Khrustaleva ba74709c40 Add tests for export job dataset (#5160) 2022-11-07 20:19:49 +03:00
Andrey Zhavoronkov 5e2eda7601 Extend helm to support Serverless functions and Analytics (#110) 2022-08-18 19:33:05 +03:00
Maxim Zhiltsov 5f58a0f7be Add 2nd layer of SDK (#19) 2022-08-16 11:52:15 +03:00