<aside> 💡 Use Docker to configure your tests runtime with any setup and a compatible test run command

</aside>

Test Framework Compatibility

Test runners for Python (PyUnit, Brownie), Rust (cargo test), JavaScript/TypeScript (jest), and C# (dotnet/XUnit) are supported.

Docker

A codebases must provide a tests service specification in a compose file that builds a mounted Dockerfile to run a compatible test command in. Engi’s runtime is then capable of running the service and parsing the results.

Optionally, the compose file can specify a sequence of services that perform other validations such as linting, benchmarking, calculating test coverage, scoring accessibility, etc. This allows for nearly endless optionality to validate code changes.

What can Bounties validate?

Examples

JavaScript

https://github.com/engi-network/demo-javascript

sample JavaScript build Dockerfile

FROM node:16.14.0

WORKDIR /code

COPY . .

RUN npm install

Python

https://github.com/engi-network/demo-python