Skip to content

Add API base path consistency test#583

Open
JAB1305 wants to merge 1 commit into
eclipse-basyx:developfrom
rwth-iat:improve/add-base-path-consistency-test
Open

Add API base path consistency test#583
JAB1305 wants to merge 1 commit into
eclipse-basyx:developfrom
rwth-iat:improve/add-base-path-consistency-test

Conversation

@JAB1305

@JAB1305 JAB1305 commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Previously the API base path (currently api/v3.1) was hardcoded across interface modules, dockerfiles and tests. Bumping the version risks drift across the occurences.

This change adds a unittest that extracts the version from each of the currently known files via regex and asserts the version matches.

The risk of newly added occurrences not being tracked remains.

Fixes #535

Previously the API base path (currently `api/v3.1`) was hardcoded across interface modules, dockerfiles and tests. Bumping the version risks drift across the occurences.

This change adds a unittest that extracts the version from each of the currently known files via regex and asserts the version matches.

The risk of newly added occurrences not being tracked remains.

Fixes eclipse-basyx#535
@JAB1305 JAB1305 force-pushed the improve/add-base-path-consistency-test branch from a6be013 to 9d11451 Compare July 2, 2026 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant