Skip to content

A course project concerning Test Driven Development and other useful tools. In Java.

Notifications You must be signed in to change notification settings

fede-vaccaro/APT-project

Repository files navigation

Appichetto

A course project concerning Test Driven Development and other useful tools. In Java.

Build Status Coverage Status Technical Debt Duplicated Lines (%)

Requirements

  • Docker

  • Docker Compose

  • Maven

  • Java 8

  • Run on virtual screen:

    We recommend to run the build on a virtual screen in isolation avoiding making the PC useless for 5 minutes, by following this commands:

    sudo apt-get install -y tightvncserver
    

    and then:

    ./onVirtualScreen.sh mvn clean test verify
    

Run the tests

  1. Unit, IT, E2E

    Start the test with:

    mvn clean test verify
    
  2. PIT

    To include the PIT:

    mvn clean test verify -P run-PIT
    
  3. SonarQube

    If you want run the tests in SonarQube, exec the second docker-compose:

    docker-compose -f docker-compose-sonar.yml up
    

    and then:

    mvn clean test verify sonar:sonar
    

Start AppIchetto

  • Run the command:

    docker-compose up

    Will be started Postgres DB and a volumes attached to it, to make the data persistence.

  • Now you can launch AppIchetto with:

    java -jar aggregator-module/target/aggregator-module-0.0.1-SNAPSHOT-jar-with-dependencies.jar
  • To stop Postgres DB run:

    docker-compose down #add --volumes to delete all data

About

A course project concerning Test Driven Development and other useful tools. In Java.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published