Skip to content

isa-group/BOTICA-RESTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BOTICA - RESTest

Note

This project was created using the BOTICA template for Java.

Running RESTest with BOTICA

  1. Clone or download the project from the repository.

  2. Install BOTICA as a local dependency, following the steps described at BOTICA README.

  3. Compiling the project.

    Open a terminal at the project's root and run the following Maven command to compile and package the project.

    mvn clean install
    
  4. Generate the necessary files to launch the BOTICA environment.

    • To use the default file located in src/main/resources/BOTICAConfig/configuration-setup.properties, run the following maven command at the root of the project:
      mvn exec:java@configuration-setup
      
    • To use a file located in another path, run the following maven command at the root of the project:
      mvn exec:java@configuration-setup -Dexec.args="path/to/file"
      
  5. Launch the BOTICA environment.

    In case you are using Windows operating system, you can run the generated .bat file in the root of your project with the name launch_botica.bat.

    Alternatively, you can use a defined command that performs the same execution process:

    mvn exec:exec@launch-botica-windows
    

    If, on the other hand, you are using a Unix-based system, you can run the generated .sh file in the root of your project with the name launch_botica.sh.

    Alternatively, you can use a defined command that performs the same execution process:

    mvn exec:exec@launch-botica-unix
    
  6. Shut down the the BOTICA environment.

    To shut down the running BOTICA environment, run the following maven command at the root of the project:

    mvn exec:java@launch-shutdown