How to scope detachment to specific directories with the --partial flag?
Context
Section titled “Context”When using check-tests --update-ids to sync tests from multiple repositories into a single Testomat project, tests from other repositories were being marked as detached. The detachment logic was comparing the current import against the entire project, rather than scoping it to the directory being imported.
Answer
Section titled “Answer”The feature to scope detachment to specific directory prefixes when using the --partial flag has been implemented and released. This allows detachment to be scoped to the directory being imported, preventing interference between repositories while still correctly detecting deleted tests within each repository.
To use this feature, ensure you are using the latest version of Check Tests where this functionality is included. You can find the release information here: https://github.com/testomatio/check-tests/releases