mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-06 09:22:26 +00:00
Add record to docs
This commit is contained in:
6
openbb_platform/CONTRIBUTING.md
vendored
6
openbb_platform/CONTRIBUTING.md
vendored
@@ -262,6 +262,12 @@ python openbb_platform/providers/tests/utils/unit_tests_generator.py
|
||||
|
||||
The automatic unit test generation will add unit tests for all the fetchers available in a given provider.
|
||||
|
||||
To record the unit tests, you can run the following command:
|
||||
|
||||
```bash
|
||||
pytest <path_to_the_unit_test_file> --record=all
|
||||
```
|
||||
|
||||
> Note that sometimes manual intervention is needed. For example, adjusting out-of-top level imports or adding specific arguments for a given fetcher.
|
||||
|
||||
### Integration tests
|
||||
|
||||
Reference in New Issue
Block a user