-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
4 changed files
with
30 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# tests for creditrisk-poc | ||
|
||
tests for creditrisk-poc are written with [pytest](https://docs.pytest.org/en/6.2.x/) testing framework. | ||
|
||
## tests directory contains folloing files : | ||
``` | ||
tests | ||
| | ||
|__ conftest.py | ||
|__ mock_portfolio_generator.py | ||
|__ test_01_ApiDoc.jsonld | ||
|__ test_functional.py | ||
``` | ||
|
||
`test_functional.py` contains all the functional tests for creditrisk-poc. | ||
|
||
`mock_portfolio_generator.py` is a mock client which can populate the database with realistic portfolio data. | ||
|
||
`test_01_ApiDoc.jsonld` is the ApiDoc used for testing & data generation. | ||
|
||
## To run tests enter the following command in the terminal : | ||
```python | ||
pytest tests/ | ||
``` | ||
## Current status: | ||
All tests are passing successfully with the latest changes. | ||
|
||
![Screenshot from 2021-07-12 16-43-15](https://user-images.githubusercontent.com/49719371/125278454-648f9980-e330-11eb-911f-26a3d744e830.png) |
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
File renamed without changes.