Comments (1)
Should it somehow parse the diff data to find new def declarations with +-sign? This would probably also cover renames too but that's one way I thought of. Or should it somehow use the line numbers inside the @@ symbols to determine that new lines are added to the bottom of the file?
What if we check coverage for new lines? If there is no information about those lines run all tests for that file?
Integration test expects the newly added tests to be found in the working directory changes. If this is added, when would be the time to update the database (add the test)? If a test is discovered in the working directory changes but never added to the database before the branch test selection, the test is always found in the working directory changes and the script never progresses to look at the committed changes.
Can we always check uncommitted changes and results of branch-to-master comparison? And basing on that two datasets decide what to do next.
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.