Hi,
JSONB platform testsuite currently has new pluggability tests, since pluggability tests needs to be validated in a container such that conflicts with META-INF/services files, classloaders are detected. Also JSONB CDI tests which are run on servlet vehicle
are part of platform TCK test suite(we can use same for validation of NoClassDefFoundErrors from missing dependency jars in a platform), other than Pluggability and CDI tests for JSONB, rest of the test (which don't require a container and use standalone vehicle)
should be validated using standalone TCK(in standalone mode[junit tests]).JSONP platform testsuite has pluggability (for same reason as mentioned above) and a few API tests (for validation that NoClassDefFoundErrors from missing dependency jars in a platform
and validation of tests on a container).
Apart from above mentioned tests, signature test are validated in Platform TCK on a container, with different vehicles as per requirement.
Platform vendors will be able to validate JSONB/JSONP tests which are dependent on container (using Jtest), when they run platform TCK JSONB/JSONP testsuite, but with small no of tests (not all TCK tests).
regards,
Guru
From: jakartaee-tck-dev <jakartaee-tck-dev-bounces@xxxxxxxxxxx> on behalf of arjan tijms <arjan.tijms@xxxxxxxxx>
Sent: 12 April 2022 03:02
To: jakartaee-platform developer discussions <jakartaee-platform-dev@xxxxxxxxxxx>
Cc: jakartaee-tck developer discussions <jakartaee-tck-dev@xxxxxxxxxxx>
Subject: [External] : Re: [jakartaee-tck-dev] [jakartaee-platform-dev] Discussion of enabling JSON-B, JSON-P TCKs to be executed in EE Container (same as previous releases)
Hi,
Regarding adding those tests back into the Platform TCK, it may help the conversation if someone gives an example of an EE container bug that might not of been revealed if we didn't add those tests back in.
It's perhaps not the best example, but I added the json jars to piranha, and pointing the TCK to it using the classpath would have passed the TCK. But I forgot to actually load the jars in the server (in Piranha we do that explicitly per jar), so in say
a Servlet or any other server code, json would not be available.
Kind regards,
Arjan
|