eclipse.platform icon indicating copy to clipboard operation
eclipse.platform copied to clipboard

Experiment with the new JUnit-Platform Mojo

Open laeubi opened this issue 3 months ago • 2 comments

This is an experiment in how much the new tycho junit-platform mojo can replace "traditional" tycho-surefire test and what are possibly missing pieces.

For this is:

  • it creates a pom.xml so we have full control and do not need to modify the parent
  • there we explicitly disable maven surefire
  • configure the new mojo as an additional execution

laeubi avatar Oct 14 '25 12:10 laeubi

Test Results

0 files   -  1 920  0 suites   - 1 920   0s ⏱️ - 1h 53m 4s 0 tests  -  4 721  0 ✅  -  4 696  0 💤  -  24  0 ❌ ±0  0 runs   - 14 010  0 ✅  - 13 842  0 💤  - 167  0 ❌ ±0 

Results for commit 57c81083. ± Comparison against base commit 5a5410b0.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Oct 14 '25 12:10 github-actions[bot]

Executing this locally results in

Test run finished after 1315 ms
[        40 containers found      ]
[         0 containers skipped    ]
[        40 containers started    ]
[         0 containers aborted    ]
[        40 containers successful ]
[         0 containers failed     ]
[       259 tests found           ]
[         0 tests skipped         ]
[       259 tests started         ]
[         0 tests aborted         ]
[       222 tests successful      ]
[        37 tests failed          ]

because currently the "use UI harness" feature is not implemented / available. But as we can already see a lot of tests simply don't need that at all!

So next would be to evaluate if we can add the "missing" support with an extension here.

laeubi avatar Oct 14 '25 12:10 laeubi