joncloud / locust-csv-to-junit-xml

Simple program to convert locust.io csv output into JUnit XML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

locust-csv-to-junit-xml

Simple program to convert locust.io csv output into JUnit XML. Use this to convert the output into pipelines like Azure DevOps or Jenkins.

Sample usage

python main.py -p <prefix>

Development

Requirements

Running on Host OS

Install the necessary Python version and virtual environment:

./dev.sh

Activate the virtual environment in order to run the right Python version:

. venv/bin/activate

Installing Python package dependencies requires updates to the pyproject.toml, and then re-generating requirements.txt:

pip-compile --extra=dev --output-file=requirements.txt pyproject.toml

Syncing the virtual environment's packages:

pip-sync

Running in Docker

docker build -t locust-csv-to-junit .

About

Simple program to convert locust.io csv output into JUnit XML


Languages

Language:Python 80.8%Language:Shell 14.9%Language:Dockerfile 4.4%