functional2/lang: require all files to be used #852

Closed
opened 2025-06-08 21:59:23 +00:00 by commentatorforall · 1 comment

Issue description

Currently, when migrating a bunch of tests from functional, it might happen that one renames a file in the wrong name, resulting in it not being picked up by the lang test suite.

Proposed solution

Require all files inside a folder to be referenced by a test and otherwise create an InvalidTestConfiguration failure indicating which file(s) are unused.
This should happen for both toml tests as well as well as generic tests

cc: @piegames

## Issue description Currently, when migrating a bunch of tests from functional, it might happen that one renames a file in the wrong name, resulting in it not being picked up by the lang test suite. ## Proposed solution Require all files inside a folder to be referenced by a test and otherwise create an `InvalidTestConfiguration` failure indicating which file(s) are unused. This should happen for both toml tests as well as well as generic tests cc: @piegames
Member

This issue was mentioned on Gerrit on the following CLs:

  • commit message in cl/3298 ("tests/functional2/lang: require all files to be used")
<!-- GERRIT_LINKBOT: {"cls": [{"backlink": "https://gerrit.lix.systems/c/lix/+/3298", "number": 3298, "kind": "commit message"}], "cl_meta": {"3298": {"change_title": "tests/functional2/lang: require all files to be used"}}} --> This issue was mentioned on Gerrit on the following CLs: * commit message in [cl/3298](https://gerrit.lix.systems/c/lix/+/3298) ("tests/functional2/lang: require all files to be used")
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#852
No description provided.