cd $JSONB_HOME/bin
mvn verify
Executing Tests |
Previous | Next | Contents |
The JSON Binding TCK uses the Junit framework to execute the tests.
This chapter includes the following topics:
Note
|
The instructions in this chapter assume that you have installed and configured your test environment as described in Chapter 3, "Installation," and Chapter 4, "Setup and Configuration,", respectively. |
The JSON Binding TCK can be run from the command line in your shell environment by executing tests from the TCK jar.
Note
|
The |
Use the following modes to run a subset of the tests:
To run a single test, enter the following command:
cd $JSONB_HOME/bin
mvn verify -Dtest=ee.jakarta.tck.json.bind.api.jsonb.JsonbTest
To run a subset of tests, enter the following command:
cd $JSONB_HOME/bin
mvn verify -Dtest=ee.jakarta.tck.json.bind.api
Some test scenarios are designed to ensure that the configuration and deployment of all the prebuilt JSON Binding TCK tests against one Compatible Implementation are successful operating with other compatible implementations, and that the TCK is ready for compatibility testing against the Vendor and Compatible Implementations.
Verify that you have followed the configuration instructions in Section 4.1, "Configuring Your Environment to Run the TCK Against the Compatible Implementation."
Run the tests, as described in Section 5.1, "Starting the tests," and, if desired, Section 5.2, "Running a Subset of the Tests."
This test scenario is one of the compatibility test phases that all Vendors must pass.
Verify that you have followed the configuration instructions in Section 4.2, "Configuring Your Environment to Run the TCK Against the Vendor Implementation."
If required, verify that you have completed the steps in Section 4.3.3, "Deploying the Test Applications Against the Vendor Implementation."
Run the tests, as described in Section 5.1, "Starting the Tests," and, if desired, Section 5.2, "Running a Subset of the Tests."
A set of report files is created for every test run. These report files can be found in the target directory that the test is run. After a test run is completed, the Junit framework writes reports for the test run.
Previous | Next | Contents |