Detect entry-point of tests automatically

This commit is contained in:
boukeversteegh
2020-06-10 22:42:38 +02:00
parent 1a95a7988e
commit fb54917f2c
5 changed files with 61 additions and 36 deletions

View File

@@ -312,7 +312,7 @@ $ pip install -e .
This project enforces [black](https://github.com/psf/black) python code formatting.
Before commiting changes run:
Before committing changes run:
```bash
pipenv run black .
@@ -333,7 +333,7 @@ Adding a standard test case is easy.
- Create a new directory `betterproto/tests/inputs/<name>`
- add `<name>.proto` with a message called `Test`
- add `<name>.json` with some test data
- add `<name>.json` with some test data (optional)
It will be picked up automatically when you run the tests.