Skip to content

Commit

Permalink
fixed tests README
Browse files Browse the repository at this point in the history
  • Loading branch information
sariola committed Oct 8, 2024
1 parent bad2065 commit 3dd4bf3
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,44 +9,25 @@ Below is the current test coverage visualization for the Flow Judge project:

<p align="center">
<a href="https://codecov.io/gh/flowaicom/flow-judge" target="_blank">
<img src="https://codecov.io/gh/flowaicom/flow-judge/graphs/icicle.svg?token=AEGC7W3DGE" alt="Codecov Icicle Graph">
<img src="https://codecov.io/gh/flowaicom/flow-judge/branch/feat%2Fllamafile/graphs/icicle.svg?token=AEGC7W3DGE" alt="Codecov Icicle Graph">
</a>
</p>


## Directory Structure
tests/
├── README.md
├── unit/
│ ├── test_flow_judge.py
│ ├── test_metrics.py
│ └── test_models.py
├── integration/
│ ├── test_evaluation_pipeline.py
│ └── test_model_integration.py
└── fixtures/
└── sample_data.json


## Running Tests

To run the entire test suite:
```sh
pytest
```


To run a specific test file:
```sh
pytest tests/unit/test_flow_judge.py
```

To run tests with coverage report:
```sh
pytest --cov=flow_judge --cov-report=term-missing
```


## Contributing

When adding new features or modifying existing ones, please make sure to add or update the corresponding tests. This helps maintain the project's reliability and makes it easier to catch potential issues early.
Expand Down

0 comments on commit 3dd4bf3

Please sign in to comment.