You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
===================================================================diff --git a/src/test/java/tech/jhipster/lite/module/infrastructure/secondary/JHipsterModulesAssertions.java b/src/test/java/tech/jhipster/lite/module/infrastructure/secondary/JHipsterModulesAssertions.java--- a/src/test/java/tech/jhipster/lite/module/infrastructure/secondary/JHipsterModulesAssertions.java (revision be0077d5a9bf82daa53491602fbf125dd8d624c5)+++ b/src/test/java/tech/jhipster/lite/module/infrastructure/secondary/JHipsterModulesAssertions.java (date 1726733907913)@@ -95,6 +95,9 @@
public static JHipsterModuleAsserter assertThatModuleWithFiles(JHipsterModule module, ModuleFile... files) {
addFilesToProject(module.projectFolder(), files);
+ // Applying the module a first time before applying it again to check the reliability+ TestJHipsterModules.apply(module);+
return new JHipsterModuleAsserter(module);
}
and then run tests, multiple modules tests are failing:
This shows that some text replacements are a bit fragile and not idempotent, it might be good to improve them.
The text was updated successfully, but these errors were encountered:
murdos
changed the title
Improve the reliability of our modules by appliying them twice during tests
Improve the idempotence of our modules by appliying them twice during tests
Sep 19, 2024
If you make the following change in jhlite code
and then run tests, multiple modules tests are failing:
This shows that some text replacements are a bit fragile and not idempotent, it might be good to improve them.
The text was updated successfully, but these errors were encountered: