Getting started

This page contains the instructions to prepare your system for Testo Framework usage. If you have any troubles or difficulties with setting Testo up, or if you just have any questions - please contact us on support@testo-lang.ru

Enabling CPU Virtualization feature in BIOS

Make sure that you have Intel VT feature (if you have an Intel CPU) or AMD-V feature (if you have an AMD CPU) enabled in BIOS. Testo won't run without the CPU virtualization feature enabled.

Installing prerequisites and packages

Windows 10

Testo Framework for Hyper-V works in experimental mode. Some actions and features are not available. Please read the docs thoroughly: all the unavailable for Hyper-V Testo features are labeled accordingly.

  1. Install the Hyper-V hypervisor.

  2. Download and launch the Testo Framework installation file. Then follow the instructions.

  3. Open the command shell (cmd) as an administrator and run the command

testo version

If the command returned a readable current Testo version - then Testo Framework had been installed successfully.

Debian and Ubuntu

  1. Installing Prerequisites:
sudo apt install libvirt0 libvirt-clients libvirt-daemon-system libguestfs0 qemu qemu-kvm ebtables dnsmasq-base
  1. Installing the Testo package:
sudo dpkg -i testo-<version>.deb
  1. Check the installation went ok:
testo version

It is also recommended (though not necessary) to install the package virt-manager - a GUI client for QEMU/KVM hypervisor. With virt-manager you can much easier observe the test runs, as well as control virtual machines manually when necessary. You can install the virt-manager with the command:

sudo apt install virt-manager

CentOS

  1. Installing Prerequisites:
sudo yum -y install qemu-kvm libvirt libguestfs iptables-ebtables dnsmasq
  1. Packages updating:
sudo yum update

After the updating a restart is required.

  1. Installing the Testo package:
sudo rpm -i testo-<version>.rpm
  1. Check the installation is ok
testo version

It is also recommended (though not necessary) to install the package virt-manager - a GUI client for QEMU/KVM hypervisor. With virt-manager you can much easier observe the test runs, as well as control virtual machines manually when necessary. You can install the virt-manager with the command:

sudo apt install virt-manager

Testo Framework depends on the libguestfs library when managing virtual flash drives. Unfortunately, the default CentOS package for this library does not allow to use virtual flash drives with the NTFS file system. There is a workaround for this problem, involving compiling libguestfs from the source code.

Setting up Testo-lang syntax highlighting

There is a Sublime Text 3 syntax highlighting plugin available. You can install this plugin with two possible ways.

Sublime Text 3 Package Control

  1. Install the Package Control.
  2. Open the command palette.
  3. Select Package Control: Install Package.
  4. Find and select package Testo Highlighter.

Manual installation

  1. Download the file with the Testo-lang syntax highlighting.
  2. Copy this file to the ~/.config/sublime-text-3/Packages/User folder.
  3. Restart the Sublime Text 3.