Comments (4)
Here is an example of the scenario
pip install pytest-rts
pytest
- runs tests_selection_initpytest
- runs tests_selection against uncommited changes/changes in the branchpyetst --no-rts
just runs all the testspytest --rts-flaky
can run tests related to the changes and flaky tests
An example of pytest plugin implementation: https://github.com/pytest-dev/pytest-cov/blob/f66d8399b92e4a699516d7c4b456a8f4c1b10d31/src/pytest_cov/plugin.py
@guotin, @alexey-vyskubov how does it sound?
from pytest-rts.
I'd rather have a plugin which has to be explicitly enabled (with --rts
or --rts-flaky
) than the one which has to be explicitly disabled.
from pytest-rts.
good point
from pytest-rts.
done #67
from pytest-rts.
Related Issues (20)
- RTS strategy for newly added lines HOT 1
- Statements "return (" have no coverage data HOT 2
- Problems with PyDriller 2.x
- README updating HOT 1
- Describe how the tool works HOT 2
- Integrate with Robot Framework
- Add LICENSE.txt HOT 1
- Code in __init__.py is not tracked HOT 1
- If directory name contains 'pytest-rts', the tool does not work HOT 3
- Tests using data files should be re-run at data files change
- PRs merge strategy HOT 2
- problems running pytest-rts first time HOT 3
- avoid failing if executed not in a git repo
- Coverage percentage is lower with --rts flag HOT 1
- Indetermenistic database update HOT 2
- Run tests that are not yet added to git HOT 3
- Test selection fails when execution time is None
- pytest-cov integration: execution of new tests HOT 10
- Run tests related to changed lines HOT 3
- Non-zero return code from --rts HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytest-rts.