Bleeding edge dependency testing
Project description
Bleeding edge dependency testing
edgetest
is a tox
-inspired python library that tests your package against the latest available
dependency versions. It will
- create a virtual environment,
- install your local package into the environment,
- upgrade specified dependency package(s), and
- run your test command.
Table Of Contents
Install
Create a conda
environment with Python 3.7+ and install from PyPI:
$ python -m pip install edgetest
Getting Started
edgetest
allows multi-package, bleeding edge dependency testing. Suppose you have a package, mypackage
, with the following requirements.txt
:
pandas>=0.25.1,<=1.0.0
...
edgetest
allows you to test your package against the latest version of pandas
. If you run
$ edgetest
the package will
- Create a virtual environment in the
.edgetest
folder, - Install the local
mypackage
:.edgetest/pandas/bin/python -m pip install .
, - Upgrade
pandas
:.edgetest/pandas/bin/python -m pip install pandas --upgrade
, - Run
.edgetest/pandas/bin/python -m pytest
, and - Repeat steps 1-4 for all packages in
requirements.txt
.
After you run the command, you should get console output similar to the following:
============= =============== =================== =================
Environment Passing tests Upgraded packages Package version
------------- --------------- ------------------- -----------------
pandas True pandas 1.2.4
============= =============== =================== =================
Options
See the advanced usage page.
Contributing
See our developer documentation.
Roadmap
Roadmap details can be found here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for edgetest-2021.12.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1aabceeed52b00f28cf13e1aa768e2e0022afb8acbc61757286154f2c75d791 |
|
MD5 | 72182044f4a3ee53deeb9e544af4950c |
|
BLAKE2b-256 | 66c57ff639f7f5a14849a61b4e9a8134cc345ec6373fe7063eb5bb770ab9dfeb |