continuous-testing 0.1.3

A continuous testing library
Documentation

stable status beta status nightly status

Continuous testing

A simple tool to test your application in a virtual machine like you want.

Installation

cargo install continuous-testing

Usage

echo "#!/bin/sh\n\nencore" >> .git/hooks/commit-msg
chmod +x .git/hooks/commit-msg

Manually

encore

Requirement

It's require Vagrant and Virtualbox installed on your system.

# continuous.yml

watch: false # Turn on watch mode
wait: 600 # The wait time
directory: Encore # The tmp directory
os: archlinux/archlinux # The box to use
memory: 4096 # Memory to use
cpus: 8 # Cpus to use
show_output: true # Disable or enable console output
before_install: # Command to run before install
  - pacman -Syyu --noconfirm
install: # Command to install dependencies
  - pacman -Syyu gtk4 pango base base-devel git rustup --noconfirm
after_install: # after install command
  - rustup --version
before_script: # Command to ruin before script
  - git clone https://github.com/taishingi/zuu
  - cd zuu || exit 1
  - git log -1 --stat
script: # The commands to run test
  - cargo build
  - cargo test
after_success: # Command after success to run
  - echo "success"
after_failure: # Command after failure to run
  - echo "failure"
channels: # All rustup toolchains to support
  - stable
  - beta
  - nightly
badges_output: assets/badges # The output directory for badges mus be exist
badges_style: flatsquare # The style for badges like https://shields.io

Repository structure

.
├──src
   └── lib.rs
├──specs
   ├── continuous.yml
   └── README.md
├── Cargo.toml
├── LICENSE
└── README.md

Social links