Metadata-Version: 2.1
Name: flakytest
Version: 2023.0b2
Summary: Pytest plugin for flakytest.dev
Project-URL: Documentation, https://github.com/anze3db/flakytest-python#readme
Project-URL: Changelog, https://github.com/anze3db/flakytest-python/blob/main/CHANGELOG.md
Project-URL: Issues, https://github.com/anze3db/flakytest-python/issues
Project-URL: Source, https://github.com/anze3db/flakytest-python
Project-URL: Mastodon, https://fosstodon.org/@anze3db
Project-URL: Twitter, https://twitter.com/anze3db
Author-email: Anže Pečar <anze@pecar.me>
License-Expression: MIT
License-File: LICENSE.txt
Keywords: flaky,pytest,test
Classifier: Development Status :: 4 - Beta
Classifier: Framework :: Pytest
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# 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 --pre
```

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.
