* **Date:** _2024-02-03_
* **Version:** _>=3.8 and <=3.12_
* Note : this version break major versioning, because old acceptation test fail for this reason
branch: *"feature/lock-fixture"*
* **Status:** _Finish_
* **Note:** Branch containing the base of the pytest fixture 'lock', it must be able to easily integrate new functions, CLI arguments, etc…
- [X] Modified `--lock` argument, now target only test with `lock` fixture
- [X] The tests with the `lock` fixture had `skipped` status, now they have `passed` status
- [X] The tests without the `lock` fixture had `passed` status, now they have `skipped` status
branch: *"feature/fixture-lock-pickle"*
* **Status:** _Finish_
* **Note:** This branch requires that the branch "feature/fixture-lock-method" be finalized.
- [X] Add `pickle` extension for `lock.lock` to support more types of data
- [X] Now `pickle` is the default extension for `lock.lock` if no extension is specified
branch: *"feature/fixture-lock-clean"*
* **Status:** _Start_
* **Note:** This branch requires that the branch "feature/fixture-lock-method" be finalized.
- [X] If test use `--lock` and `--clean` argument, then clean all unused cache files
- [X] If test use `--lock` and `--clean` argument and `--only-skip` argument, then do anything, it's certainly a mistake (why clean only test with existing lock ?)
- [X] If test use `--lock` and `--clean` argument and `--simulate` argument, list all unused cache files who will be removed without remove them.
- [X] If test use `--lock` and `--clean` argument and `--lock-date` argument, thrown exception (can't lock a remove cache file)
v0.1.x
- 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