Skip to content

Testkit

bill edited this page Jun 8, 2018 · 1 revision

Testkit

Definitions

A Testkit is a collection of tests that can be run by the Conformance Tool. Toolkit comes with an internal Testkit. Private/local Testkits can be constructed and installed in the External Cache as well. The internal Testkit resides at toolkitx/testkit.

When multiple Testkits are installed, there is a defined search order when looking up a test by its name.

A Testkit can be assigned to an Environment which is shared by all Test Sessions using that Environment. A Testkit can be assigned to a specific Test Session within an Environment as well. The following search order is used to locate a test by name:

My Test Session within my Environment
Default Test Session within My Environment
Default Test session in the default Environment
WAR (internal)

The only Testkit that must exist the internal one in the WAR file.

Locations

Testkit Location

My Test Session within my Environment

EC/environment/<environment>/testkits/<test session>/

Default Test Session within My Environment

EC/environment/<environment>/testkits/default/

My Test Session within my Environment

EC/environment/default/testkits/default/

WAR (internal)

toolkitx/testkit

Testkit structure

Directory Purpose

tests

tests

plugins

Test assertion plugins

testdata-registry

static test data used by the XDS Register tool

testdata-repository

static test data used by the XDS Provide & Register tool

testdata-xdr

static test data used by the XDR Provide & Register tool

Indexing tests for the Conformance Tool

See here for details.

Clone this wiki locally