Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 1.18 KB

README.md

File metadata and controls

39 lines (32 loc) · 1.18 KB

Instructions for Tck Runner

Setup

  1. Create a Liberty server with the following features
    • mpOpenAPI-1.0
    • localConnector-1.0

So your server configurations should look like this:

    <featureManager>
    	<feature>localConnector-1.0</feature>
	<feature>mpOpenAPI-1.0</feature>
    </featureManager>
  1. Clone this repository.
  2. Navigate into the /mp-openapi-tck-runner/src/test/resources directory and open the arquillian.xml file
  3. Edit the wlpHome configuration property such that it points to the location of the WLP runtime in which your server will be running in
    <container qualifier="websphere" default="true">
        <configuration>
            <property name="wlpHome">/Users/navid/Development/wlps/openLiberty/wlp</property>
            ...
        </configuration>
    </container>

Running Tests

  1. To run all the tests that you have written, use the following command:
$ mvn clean test
  1. To run a specific test, use the -Dtest argument to specify the test class you would like to run. Suppose you have a class called ExampleTest.java, then you would use the following command:
$ mvn clean test -Dtest=ExampleTest