Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anze3db/flakytest-python

Pytest plugin for flakytest.com
https://github.com/anze3db/flakytest-python

Last synced: 12 days ago
JSON representation

Pytest plugin for flakytest.com

Awesome Lists containing this project

README

        

# flakytest-python

[![PyPI - Version](https://img.shields.io/pypi/v/flakytest.svg)](https://pypi.org/project/flakytest)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/flakytest.svg)](https://pypi.org/project/flakytest)

-----

**Table of Contents**

- [Installation](#installation)
- [License](#license)

## Installation

> [!WARNING]
> flakytest is currently in beta. It is not recommended to use it in production.

```console
pip install flakytest
```

Obtain the `FLAKYTEST_SECRET_TOKEN` from [flakytest.dev](https://flakytest.dev/) and set it as an environment variable (e.g. your secrets store in your CI/CD pipeline)

```console
export FLAKYTEST_SECRET_TOKEN=****************************
```

Run your tests with `pytest` normally

```console
pytest
```

## License

`flakytest` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.