mirror of
https://github.com/long2ice/fastapi-cache.git
synced 2026-03-24 20:47:54 +00:00
Add coverage
This commit is contained in:
@@ -143,6 +143,14 @@ async def index():
|
||||
`InMemoryBackend` store cache data in memory and use lazy delete, which mean if you don't access it after cached, it
|
||||
will not delete automatically.
|
||||
|
||||
## Tests and coverage
|
||||
|
||||
```shell
|
||||
coverage run -m pytest
|
||||
coverage html
|
||||
xdg-open htmlcov/index.html
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
This project is licensed under the [Apache-2.0](https://github.com/long2ice/fastapi-cache/blob/master/LICENSE) License.
|
||||
|
||||
Reference in New Issue
Block a user