Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joncloud/locust-csv-to-junit-xml
Simple program to convert locust.io csv output into JUnit XML
https://github.com/joncloud/locust-csv-to-junit-xml
azure-devops csv jenkins junit locustio xml
Last synced: 2 months ago
JSON representation
Simple program to convert locust.io csv output into JUnit XML
- Host: GitHub
- URL: https://github.com/joncloud/locust-csv-to-junit-xml
- Owner: joncloud
- Created: 2019-09-05T03:05:55.000Z (over 5 years ago)
- Default Branch: publish
- Last Pushed: 2023-05-15T22:39:36.000Z (over 1 year ago)
- Last Synced: 2024-08-04T02:08:01.492Z (4 months ago)
- Topics: azure-devops, csv, jenkins, junit, locustio, xml
- Language: Python
- Size: 15.6 KB
- Stars: 4
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-locust - locust-csv-to-junit-xml - Simple utility to convert Locust CSV output into JUnit XML. (Tools / Results Processing)
README
# locust-csv-to-junit-xml
Simple program to convert [locust.io](https://locust.io) csv output into [JUnit](https://junit.org) XML. Use this to convert the output into pipelines like Azure DevOps or Jenkins.
## Sample usage
```bash
python main.py -p
```## Development
### Requirements
* [pyenv](https://github.com/pyenv/pyenv#getting-pyenv)
### Running on Host OS
Install the necessary Python version and virtual environment:
```bash
./dev.sh
```Activate the virtual environment in order to run the right Python version:
```bash
. venv/bin/activate
```Installing Python package dependencies requires updates to the `pyproject.toml`, and then re-generating `requirements.txt`:
```bash
pip-compile --extra=dev --output-file=requirements.txt pyproject.toml
```Syncing the virtual environment's packages:
```bash
pip-sync
```### Running in Docker
```bash
docker build -t locust-csv-to-junit .
```