Skip to content

Conversation

@joaodinissf
Copy link
Collaborator

Summary

  • Enable tycho-surefire test execution for 4 UI test modules with full Eclipse workbench harness
  • Builds on ci: enable test execution for non-UI test modules #1263 (non-UI tests) — this branch includes both non-UI and UI test enablement
  • Configuration modeled after the working xtext.test module (useUIHarness, product, xvfb-run)

Modules enabled

Module Type Tests
check.ui.test SWTBot ~22
test.ui.test SWTBot ~4
xtext.ui.test UI ~43
sample.helloworld.ui.test Integration ~7

Notes

  • checkcfg.ui.test has eclipse-plugin packaging (not eclipse-test-plugin), so tycho-surefire does not apply
  • CI already uses xvfb-run for the maven-verify job, so the virtual display is available
  • These tests are more likely to fail than the non-UI ones — this PR is exploratory

Test plan

  • CI maven-verify passes with all UI tests running
  • Verify total test count includes UI tests

🤖 Generated with Claude Code

joaodinissf and others added 15 commits February 6, 2026 23:59
Replace GitHub Action PMD with Maven-based PMD job for version
consistency with ddk-parent/pom.xml. Add separate Checkstyle job.
Both run in parallel with maven-verify for faster feedback on
style violations.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The cast clarifies that ProxyModelAssociationsAdapter is an Adapter
through its inheritance chain.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Remove AllTests.java and XtextTestSuite.java
- JUnit 5 @SelectPackages doesn't work with OSGi bundleresource:// URIs
- Add <includes> pattern for *Test.java in tycho-surefire-plugin
- Let Tycho discover tests by naming convention instead
- Remove ExportScopingTest.xtext (was added for testing, not in master)
- Rename BugAig1314, BugDsl27, BugAig1084 to *Test suffix so they match
  JUnit 5 default class name pattern and Tycho's **/*Test.java convention
- Add missing expression package to GeneratorTestSuite @SelectPackages
- Add @IncludeClassNamePatterns(".*Test.*") to all suites for consistency

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…sses

Fix PMD PublicMemberInNonPublicType violations: constructors, methods,
fields, and inner classes that were still public in package-private test
classes are now package-private.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Enable test execution for 7 non-UI test modules that have been skipped
since the initial open-source contribution (2016). The parent POM has
<skip>true</skip> for tycho-surefire-plugin, and only xtext.test
overrode it.

Modules enabled:
- com.avaloq.tools.ddk.typesystem.test
- com.avaloq.tools.ddk.check.core.test
- com.avaloq.tools.ddk.check.runtime.core.test
- com.avaloq.tools.ddk.checkcfg.core.test
- com.avaloq.tools.ddk.xtext.export.test
- com.avaloq.tools.ddk.xtext.format.test
- com.avaloq.tools.ddk.xtext.generator.test

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Enable test execution for 4 UI test modules with full Eclipse workbench
harness configuration (useUIHarness, product, application) modeled after
the working xtext.test configuration.

Modules enabled:
- com.avaloq.tools.ddk.check.ui.test (SWTBot tests)
- com.avaloq.tools.ddk.test.ui.test (SWTBot tests)
- com.avaloq.tools.ddk.xtext.ui.test
- com.avaloq.tools.ddk.sample.helloworld.ui.test

Note: checkcfg.ui.test is eclipse-plugin (not eclipse-test-plugin),
so tycho-surefire does not apply to it.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Summarizes test results from enabling tycho-surefire for all 11 test
modules. 4 modules pass cleanly (+125 tests), 3 need UI harness,
1 has SWTBot issues, 1 has a test setup bug.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
xtext.test, check.ui.test, and sample.helloworld.ui.test were all
SKIPPED by Maven due to earlier failures, not actually executed.
Corrected total from 327 to 253 tests. Removed incorrect "no tests
found" claims for skipped UI modules.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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