Skip to content

A block-based mutation testing tool to teach software testing

License

Notifications You must be signed in to change notification settings

se2p/code-critters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Critters

This is Code Critters, another mutation testing game.

Installation

Requirements

  • Apache Maven

  • MySQL
    or

  • Docker and docker-compose

  • npm or yarn (only for developement)

For starting the game, you only need a MySQL Server (e.g. MariaDB) running. for the sake of simplicity, the project contains a docker-compose file that starts a MySql instance with

docker-compose up

A db-dump containing some demo data has also been added to the project. For development you also need an installation of npm (or yarn) to load frontend dependencies.

Run from within an IDE

Since this project is build with the Spring framework, you can run the Project from within your IDE. Only some frontend dependencies need to be loaded. This needs to be done in the resources/static folder and you can either use npm:

npm install

or yarn:

yarn install

Configuration

To Configure the system, you need to edit the application.properties in the resources folder. This file also holds the database settings (Initially this data belongs to the docker configuration).

Build and Deployment

Deployment

To Deploy the project, you need to apply some changes in the src:

  • Uncomment the PropertySource-line in Code_CrittersServiceApplication
  • Comment out the lines 5 to 14 in application.properties
  • Optional: Change the logging parameter to WARN

After that you can execute

mvn clean compile package

to deploy the project.

Before starting the application

To configure the server, you need a directory called resources in the folder that contains the .jar file. This directory needs to contain the application.properties file, that now only contains the lines 5 to 14 of the original one. This parameters needs to be adapted to your system.

Starting the application

To start the application, you simply need to run

java -jar Code-Critters-x.x.x.jar

Now a server starts and the application is available at localhost on whatever port you configured in application.properties.

About

A block-based mutation testing tool to teach software testing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published