diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 46246696..fa128ee5 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -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 diff --git a/setup.py b/setup.py index 0778e242..fc298eec 100644 --- a/setup.py +++ b/setup.py @@ -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",