https://download.eclipse.org/jakartaee/authentication/3.0/jakarta-authentication-tck-3.0.0.zip
Setup and Configuration |
Previous | Next | Contents |
Note
|
The Jakarta EE Specification process provides for any number of compatible implementations. As additional implementations become available, refer to project or product documentation from those vendors for specific TCK setup and operational guidance. |
This chapter describes how to set up the Authentication TCK. Before proceeding with the instructions in this chapter, be sure to install all required software, as described in Chapter 3, "Installation."
After completing the instructions in this chapter, proceed to Chapter 5, "Executing Tests," for instructions on running the Authentication TCK.
After configuring your environment as described in this section, continue with the instructions in Section 5, "Executing Tests."
Note
|
In these instructions, variables in angle brackets need to be expanded
for each platform. For example, On Windows, you must escape any backslashes with an extra backslash in path separators used in any of the following properties, or use forward slashes as a path separator instead. 4.1 Setting up an Evironment for the Maven Surefire based TCK The current JUnit based set of tests runs under a Maven surefire runner and needs a profile configured for you compatible implementation to test. The top level tck/pom.xml includes example profiles including one for GlassFish. To configuration a profile for your compatible implementation, start with the GlassFish glassfish-ci-managed profile, and modify the dependencies and configuration to support your implementation and Arqulillian container implementation. The Arqulillian container implementation starts up your container and deploys the test wars into it. |
4.2 Setting up an Environment for the Legacy Jakarta Authentication TCK
4.2.1 Download the Legacy TCK Contents
From the tck/old-tck-runner module, execute the following command:
mvn generate-resources
This will unpack the legacy TCK at tck/old-tck-runner/target/authentication-tck.
By default the legacy TCK is retrieved from
https://download.eclipse.org/jakartaee/authentication/3.0/jakarta-authentication-tck-3.0.0.zip
An alternative location can be specified using the tck.authentication.url
maven property.
4.2.2 Configure Your Environment for the Legacy Jakarta Authentication TCK
Read the "Setup and Configuration" section of the old-tck-runner/target/authentication-tck/docs/pdf-usersguide/Jakarta-Authentication-TCK-Users-Guide.pdf Where that guide refers to the Authentication TCK, use the old-tck-runner/target/authentication-tck contents.
Previous | Next | Contents |