Follow

Continuum for Java (JUnit)

About Continuum for JUnit 

Access Continuum for Java (JUnit) provides developers who are familiar with JUnit with an easy and painless way to embed automated accessibility testing for their applications written in Java.

Continuum for JUnit includes:

  • Access Engine, which is Level Access' testing engine, specifically the automatic tests included with this accessibility testing engine
  • A sample project that includes two tests using JUnit 

Getting Started with Continuum for Java (JUnit)  

Prerequisites

Java 7+ (https://java.com/en/download/

Maven (https://maven.apache.org/

Google Chrome (https://www.google.com/chrome/): Chrome is the preferred browser. You can make some minor modifications to the script if you would like to use other browsers

Installation and Configuration

    1. Download Continuum for Java(JUnit) from AMP Toolbox

    2. Install and start testing with Continuum for Java(JUnit)

      1. Unzip the downloaded package. 

      2. In the console, cd/ to the directory containing Continuum for Junit and enter 'mvn test' to start testing with Continuum for JUnit 

Testing with Continuum for Java (JUnit) 

 

To run tests, use 'mvn test.'

In order to help you better understand how Continuum for Java (JUnit) works, we include a sample project which tests www.levelaccess.com and not.webaccessibility.com using JUnit. With these two examples, you can see how the testing results are like both when the tested application is accessible and not accessible 

To test your own application, find the file for the sample project, named "continuum-pro-java-junit/src/test/java/AccessibilityTests.java" 

Simply replace "www.levelaccess.com" and "not.webaccessibility.com" in this file (continuum-pro-java-junit/src/test/java/AccessibilityTests.java) with the URL of your application. Then run the test using "mvn test" in your IDE. 

Test results will display the list of accessibility errors, along with details to guide remediation efforts. See "Access Continuum Test Results" for more details. 

 
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Level Access Support
www.levelaccess.com | 800.889.9659
© 2005 - 2018 - Level Access All rights reserved.
Privacy | Security | Credits | License