Skip to main content

BAlto is a Language independent Test Orchestrator

Project description

Logo of Balto BALTO

All Contributors

BAlto is a Language independent Test Orchestrator is an unique tool to drive all your test-runners with one common interface.

Installation

Install balto with pipx:

pipx install balto

You should see at the end of the command:

  These binaries are now globally available
    - balto
    - balto-curses
    - balto-server
done! ✨ 🌟 ✨

It is highly recommended to avoid installing Balto in either your global Python environment or a virtual environment as it might causes conflicts with some dependencies.

Usage

To use it, point balto to a directory containing a .balto.toml file:

balto tests/

The .balto.toml file should look like:

name = "Acceptance Test Suite Subprocess"
tool = "pytest"

If you just want to give Balto a try, you can use the --tool to indicate which tool you want to use. For example:

balto --tool pytest tests

The tool must be one of the supported one, you can see the list here: https://github.com/lothiraldan/litf#compatible-emitters

You can test balto against examples for supported test runners. Clone this repository and launch balto against one of the examples directories. For pytest, launch:

balto examples/pytest/

For more help:

balto --help

Development

Balto is composed of two components: the server and the web interface.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. Please report unacceptable behavior to lothiraldan@gmail.com.

Balto-server

Balto-server is a Python 3.7 project using Asyncio. To build the development version, first create a virtualenv (or equivalent):

virtualenv .venv
source .venv/bin/activate

Install the project in development mode:

pip install -e .

Then start the server:

balto-server --debug examples/pytest/

The server will start on port 8889.

Web interface

The web interface is a React project communicating with the server using WebSockets. You can start developing on it with these instructions:

cd balto/web_interfaces/balto_react
yarn start

The web interface is then available on http://localhost:3000/ and will connect to the server started before.

Warning: the WebSocket doesn't auto-reconnect yet, sometimes your React modification requires you to reload your browser tab.

Contributors

Thanks goes to these wonderful people (emoji key):

 Boris Feld
Boris Feld

💻 🎨 📖 🤔 📢
Elias Dorneles
Elias Dorneles

💻 🐛
Paul Morelle
Paul Morelle

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

balto-0.2.1.tar.gz (2.5 MB view details)

Uploaded Source

Built Distribution

balto-0.2.1-py3-none-any.whl (2.5 MB view details)

Uploaded Python 3

File details

Details for the file balto-0.2.1.tar.gz.

File metadata

  • Download URL: balto-0.2.1.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.7.6 Linux/5.4.13-201.fc31.x86_64

File hashes

Hashes for balto-0.2.1.tar.gz
Algorithm Hash digest
SHA256 a15f641f64857bee2a3ebabeef18a62a47103dbe494a4ca3d6e3ee015d784e09
MD5 b578dece74e022188e5626e879572616
BLAKE2b-256 ade949259514c25eb3720bc09143a77fda52686660d6465add9b70981f7c4bd1

See more details on using hashes here.

File details

Details for the file balto-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: balto-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.7.6 Linux/5.4.13-201.fc31.x86_64

File hashes

Hashes for balto-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cc23b8f71e37b65d462d86bbc2b02ec2b80ed351a07524cd6f137546f31d7b5e
MD5 cfc784a0c6026169f1965c1b5f4b64f1
BLAKE2b-256 df3e152f2eb760603533fd0d0b6fb0e58c060efbeaa62aaa7d8515154393dc11

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page