#Setting up a Java project
This guide shows you how to configure a Java project to run on TURBO TEST. Here's an overview of the process:
It should take around 15 minutes to install and configure your project.
#Create a bash script to execute one test file
You must create a bash script to execute one test file using maven
Firsly, create a bin/mvn_turbotest
file in your repository root:
Then create this bash script to execute one test from a java file path:
#Create configuration file
Create a .turbo_test.toml
file in your repository root if you haven't already done so. For example, execute these commands from your command line terminal:
#Install Ubuntu 22.04.3 LTS packages
Copy the Java configuration below into .turbo_test.toml
.
.turbo_test.toml
Before you push your configuration to GitHub, verify your configuration locally and add required secrets from the web UI: