From ebd82412340d51b89ff7c2d19cf4f660f75e2c06 Mon Sep 17 00:00:00 2001 From: oof1lab Date: Tue, 7 Nov 2017 13:25:22 +0000 Subject: [PATCH] doc : update --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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