Skip to content

Fix test resource paths in monticore-grammar-emf#271

Open
jra-se wants to merge 5 commits intodevfrom
fix/grammar-emf-test-resources
Open

Fix test resource paths in monticore-grammar-emf#271
jra-se wants to merge 5 commits intodevfrom
fix/grammar-emf-test-resources

Conversation

@jra-se
Copy link
Copy Markdown
Contributor

@jra-se jra-se commented Apr 16, 2026

Some tests in monticore-grammar use models from the resource directory as input data.
In this case, the path to the original test resource directory (src/test/resources/) has been used.
However, during build the test resources are also automatically copied to target/resources/test.

The monticore-grammar-emf module copies large parts of the monticore-grammar project during build.
The target of the copy operation is inside this projects build directory (target).

During the copyTestResources task of the monticore-grammar-emf gradle configuration, the test resources were copied from src/test/resources to target/test/resources.
As a result, some tests used multiple input paths, while various tests were excluded in monticore-grammar-emf.

This pull request upgrades deprecated gradle syntax, updates the copyTestResources task to copy the test resources to the same location as in monticore-grammar. Finally, all affected tests are fixed and reenabled in monticore-emf.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 16, 2026

⚠️ Changes might break the MontiVerse

Project Status
artifacts ⚠️
details
Project Status
montiarc
umlp_experiments
umlp_tool
sd
montifun
fd
automaton
sc
guidsl
artifacts ⚠️
ocl
od
ucd
langexperiments
json
xml
cd2gui
mlc
cd4analysis
monticore_basic

The MontiVerse is a collection of (internal and public) language projects.

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