From 87372f0b19f902e6e33de03c002048e2a407df10 Mon Sep 17 00:00:00 2001 From: Ben Green Date: Mon, 16 Feb 2015 21:45:31 -0800 Subject: [PATCH] Test settings path update in readme, changelog --- CHANGELOG.md | 10 ++++++++++ README.md | 12 +++++++++--- 2 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..0f77c9c --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,10 @@ +# Changelog + +## 0.1.1 + +* [mysql-live-select updated to 0.0.14](https://github.com/numtel/meteor-mysql/commit/cd949a4ee551b5ce3b0affb7ef5f40c0057c0bb4), enables callback on `LiveMysql` constructor to detect connection errors. + +## 0.1.0 + +* [Now direct wrapper on mysql-live-select package](https://github.com/numtel/meteor-mysql/commit/2b3762195a89e37b7c1e31a9c732ba20b2cfb90d), legacy trigger-based update system removed + diff --git a/README.md b/README.md index 0caa3fd..4b8faac 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,13 @@ Name | Listener Arguments | Description ## Tests / Benchmarks -A MySQL server is required to run the test suite. +A MySQL server configured to output the binary log in row mode is required to run the test suite. + +The MySQL connection settings must be configured in `test/settings/local.json`. + +The database specified should be an empty database with no tables because the tests will create and delete tables as needed. + +If you set the `recreateDb` value to true, the test suite will automatically create the database, allowing you to specify a database name that does not yet exist. ```bash # Install Meteor @@ -81,10 +87,10 @@ $ cd meteor-mysql # Configure database settings in your favorite editor # (an empty database is suggested) -$ ed test/settings.local.json +$ ed test/settings/local.json # Run test/benchmark server -$ meteor test-packages --settings test/settings.local.json ./ +$ meteor test-packages --settings test/settings/local.json ./ ```