-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f29abbb
commit 32b5cad
Showing
76 changed files
with
1,543 additions
and
621 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="pytest" type="tests" factoryName="py.test" nameIsGenerated="true"> | ||
<module name="pytest-lock" /> | ||
<option name="ENV_FILES" value="" /> | ||
<option name="INTERPRETER_OPTIONS" value="" /> | ||
<option name="PARENT_ENVS" value="true" /> | ||
<option name="SDK_HOME" value="C:\Users\pierr\AppData\Local\pypoetry\Cache\virtualenvs\poetry-lock-1XD7cA0J-py3.12\Scripts\python.exe" /> | ||
<option name="SDK_NAME" value="Poetry (pytest-lock)" /> | ||
<option name="WORKING_DIRECTORY" value="" /> | ||
<option name="IS_MODULE_SDK" value="false" /> | ||
<option name="ADD_CONTENT_ROOTS" value="true" /> | ||
<option name="ADD_SOURCE_ROOTS" value="true" /> | ||
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> | ||
<option name="_new_keywords" value="""" /> | ||
<option name="_new_parameters" value="""" /> | ||
<option name="_new_additionalArguments" value="""" /> | ||
<option name="_new_target" value="""" /> | ||
<option name="_new_targetType" value=""CUSTOM"" /> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="tox" type="Tox" factoryName="Tox"> | ||
<module name="pytest-lock" /> | ||
<option name="ENV_FILES" value="" /> | ||
<option name="INTERPRETER_OPTIONS" value="" /> | ||
<option name="PARENT_ENVS" value="true" /> | ||
<option name="SDK_HOME" value="C:\Users\pierr\AppData\Local\pypoetry\Cache\virtualenvs\poetry-lock-1XD7cA0J-py3.12\Scripts\python.exe" /> | ||
<option name="SDK_NAME" value="Poetry (pytest-lock)" /> | ||
<option name="WORKING_DIRECTORY" value="" /> | ||
<option name="IS_MODULE_SDK" value="false" /> | ||
<option name="ADD_CONTENT_ROOTS" value="true" /> | ||
<option name="ADD_SOURCE_ROOTS" value="true" /> | ||
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> | ||
<arguments> | ||
<array /> | ||
</arguments> | ||
<runOnlyEnvs> | ||
<array /> | ||
</runOnlyEnvs> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Changelog | ||
## v0.1.0 | ||
- Add `lock` fixture | ||
- Add `lock.lock` method | ||
- Add cli argument `--lock` to pytest | ||
- Add functionality, if a test have `lock` fixture, then compare the result of the test with the result in the cache file | ||
- Add functionality, if a test have `lock` and `--lock` cli argument, then lock the result of the test to a cache file | ||
- Add functionality, if a test have `lock` and `--simulate` cli argument, then simulate the result of the test, not write to the cache file | ||
- Add functionality, if a test have `lock` and `--only-skip` cli argument, then don't update lock if the result was not locked | ||
- Add functionality, if a test have `lock` and `--lock-date` cli argument, then lock the result of the test to a cache file with the date of the lock, if date was expired, then the test is failed |
Oops, something went wrong.