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
Generate a report from the command line without Eclipse (but with Ant, potentially we may be able to replace it with a standalone XSLT processor like Saxon).
The idea behind this is to run the test suite against the RefImpl server containers via GH Action (+taking advantage of their support for the "service" containers that run along the Action container) and publish the reports via GH Pages.
The output looks like this:
Here are a few things that are wrong with it:
It hardcodes the number of expected MUSTs and corresponding tests that have to pass in order for the OSLC server to be considered conformant.
It uses the word "Provider". We agreed long time ago to call it "OSLC Server" AFAIK.
It defines levels arbitrarily just based on the number of MUSTs, SHOULDs, and MAYs satisfied. As discussed in the OSLC OP call on 2021-07-29, we might want to define a "bare minimum" level (just MUSTs) with new levels on top but focused on business-level features offered by conformant OSLC Servers (e.g. error reporting if the TRS supported well or graphical resource creation and selection if all DUI capabilities are in places and CORS/CSP are set correctly).
It says on top " OSLC Unit Test Report". It should be "OSLC Conformance Test Report (Eclipse Lyo TestSuite)" or similar. Better yet, "'OSLC RefImpl 2020 CM' Server OSLC Conformance Test Report". And on the next line, "Generated by Eclipse Lyo TestSuite v4.1.0.alpha2 (2020-08-01)".
It says in the image "OSLC TestSuite Execution Summary". I am confused a bit by the font size, took a little while to understand it's not a page heading but a title of the image. Maybe we can make it smaller.
"Error (MUSTS)" in the picture is misleading. As you see at the bottom of the report, 55 tests were actually run and 0 failed. This is because I tweaked the test suite config for the RefImpl 2020 CM server to turn off checking various (optional) OSLC capabilities. "Error (MUSTS)" makes the server look completely non-conformant. Cf. point 1 on hardcoding.
The "OSLC TestSuite Execution Summary" table only lists the server MUST conformance and does not mention SHOULDs and MAYs. Why?
The "Unit Test Summary" table is useless. We should go over a mapping between unit test methods and CM RFC clauses and add CC IDs and maybe the definitions of levels as discussed in the meeting such that we could print them all in a table and show which CCs are violated and group them by "levels" such as QC, DUI etc.
I have finally managed to:
The output looks like this:
Here are a few things that are wrong with it: