How to run tests

This commit is contained in:
c-bata
2020-10-26 15:48:27 +09:00
parent 07a51f85ca
commit 8fd9a224f3
2 changed files with 13 additions and 1 deletions
+12 -1
View File
@@ -37,7 +37,7 @@ $ optuna-dashboard sqlite:///db.sqlite3
```
## Running formatters
## Running tests and formatters
### Auto-formatting TypeScript files
@@ -52,6 +52,17 @@ $ pip install .[lint]
$ black .
```
### Running tests
```
$ python setup.py test
...
Ran 4 tests in 0.004s
OK
```
## Release process
+1
View File
@@ -38,6 +38,7 @@ setup(
"release": ["wheel", "twine"],
},
package_data={"optuna_dashboard": ["public/*"]},
test_suite='tests',
entry_points={
"console_scripts": [
"optuna-dashboard = optuna_dashboard.cli:main",