
# Requirements
It's require [Vagrant](https://developer.hashicorp.com/vagrant/downloads) and [Virtualbox](https://www.virtualbox.org/wiki/Downloads) installed on your system.
# Install
```bash
cargo install continuous-testing
```
# Again program arguments
1. The directory to store the Vagrantfile
2. The vagrant [box](https://app.vagrantup.com/) to use
3. The memory size to use
4. The cpus to use
5. All commands with **&&** to run in the virtual machine
> ps the order are important in this time
## Example
> Run all tests for my project from an archlinux virtual machine.
# Usage
```shell
again "Again" "generic/arch" "4096" "4" "pacman -Syyu git rust base base-devel htop --noconfirm && git clone https://github.com/taishingi/zuu zuu && cd zuu && cargo build && cargo test"
```
> All files will be removed
# Using library
```rust
use continuous::testing::Encore;
fn main()-> Result<String, String>
{
let mut vm = Encore::new();
let directory = "Again";
let os = "generic/arch";
let memory = "4096";
let cpus = "4";
let command = "pacman -Syyu && pacman -S git rust base base-devel --noconfirm && git clone https://github.com/taishingi/zuu && cd zuu && cargo build && cargo tests"
vm.set_directory(directory);
vm.set_os(os);
vm.set_memory(memory);
vm.set_cpus(cpus);
vm.set_command(command);
vm.run()
}
```
# Using Bash
```bash
sudo curl -fsSL https://raw.githubusercontent.com/taishingi/zuu/master/continuous-testing/encore -o /usr/bin/encore
```
## Usage
```bash
encore
```
# Output
