Hi,
1. JDO-830: "tck: Migrate JUnit tests to version 
5"https://issues.apache.org/jira/browse/JDO-830

Currently using JUnit 5.9.3. But it no longer works subclassing the 
ConsoleLauncher because now with JUnit 5.10.0. the execute method no longer 
returns the number of tests, errors, failures, etc. So we will need to look 
into where the information is stored so we can maintain compatibility with how 
it works today.

See the branch at:https://github.com/apache/db-jdo/tree/JDO-830

...

Update: JUnit provides an Interface TestExecutionListener and an
implementing class SummaryGeneratingListener that calculates the number
of tests, succeeds, failures etc.
I could add a subclass of SummaryGeneratingListener that prints the test
result in the file TCK-results.txt. This class is activated through a
service provider interface, so I added a file
org.junit.platform.launcher.TestExecutionListener under
META-INF/services including the name of the subclass
TCKSummaryGeneratingListener. I think this is the intended way to handle
the test execution result.

You find the update in the branch
https://github.com/apache/db-jdo/tree/JDO-830.

Regards
Michael

--
Michael Bouschen
akquinet tech@spree GmbH
Bülowstraße 66 • D-10783 Berlin
Tel:   +49 30 235520-0
Fax:  +49 30 217520-12

E-Mail: michael.bousc...@akquinet.de
Web: www.akquinet.de <http://www.akquinet.de/>

Geschäftsführung: Dr. Torsten Fink, Heinz Wilming
Amtsgericht Berlin HRB 86780 • USt.-Id. Nr.: DE 225 964 680

[LinkedIn] <https://www.linkedin.com/company/akquinet/> [xing]
<https://www.xing.com/companies/akquinetag> [kununu]
<https://www.kununu.com/de/akquinet> [Instagram]
<https://www.instagram.com/akquinet_/>

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to