UTBot Cloud is a web application allowing:
- Generate and run tests for a file written in C language with the corresponding report
- Generate and run tests for a class written in Java language with the corresponding report
⚠ Code coverage measurement is supported only for C language now.
UTBot Cloud consists of two parts:
- UTBot Site - client side (source code is stored in the current repository)
- UTBot Online - server side
UTBot Cloud for generating tests, getting information about the launch tests, generating information about the number of lines of code covered by tests in C uses the UTBot C/C++ CLI console application. The application creates an abstraction to work with the UTBot C/C++ tool generating tests.
UTBot Cloud for generating tests, getting information about the launch tests in Java uses the UTBot Java CLI console application. The application creates an abstraction to work with the UTBot Java tool generating tests.
As the guide is dedicated to client side, we skip the corresponging steps for the server side of UTBot Cloud. Anyway, it can be found in UTBot Online repository.
UTBot Site can be deployed on Ubuntu 18.04 or later. It requires npm installed.
Install and run UTBot Online:
- Clone repository with UTBot Online source code.
- Go into repository directory.
- Run commands (install only dependencies you don't have on your machine):
npm install -g yarn
npm install -g gatsby-cli
yarn
sudo apt install python3
- Switch to source branch.
- Run
sudo gatsby build
orsudo npm run build
to build sitesudo npm run build
is used when you want to have latest version of UTBot documentation on the site - Run
sudo gatsby develop
orsudo npm run develop
to deploy sitesudo gatsby develop
is used when you want to have latest version of UTBot documentation on the site
Congratulations! UTBot Site is deployed on your machine.