diff --git a/README.md b/README.md index c6323322b4..2bbe970581 100644 --- a/README.md +++ b/README.md @@ -460,4 +460,19 @@ ENV DATABASE_HOST 127.0.0.1 ENV DATABASE_USER root ENV DATABASE_PASSWORD password ENV DATABASE_NAME sakila +``` + + +# Tests on local machine + +Login to mysql shell + +``` +mysql> create database classicmodels +mysql> use classicmodels +mysql> source path_to/xmysql/tests/sample.sql +``` + +``` +$ mocha tests/*.js --exit ``` \ No newline at end of file