Skip to content

Commit 6560666

Browse files
committed
2 parents da57be4 + 5ecef91 commit 6560666

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ This is a [Helper](https://codecept.io/helpers/) for [CodeceptJS](https://codece
99

1010
## Install
1111

12+
📌 Currently, this helper is compatible with CodeceptJS `1.2.1` and should work with any version `1.x`. However, it was not tested yet with versions `2.x`.
13+
1214
```bash
1315
npm install --save-dev codeceptjs-dbhelper
1416
```
@@ -82,7 +84,7 @@ The object `I` of your tests and events will have access to new methods. [See th
8284
```js
8385
BeforeSuite( async( I ) => {
8486
// The first parameter is the key that will hold a reference to the db
85-
I.connect( "testdb", "mysql:///root:mypassword@localhost:3306/testdb" );
87+
I.connect( "testdb", "mysql://root:mypassword@localhost:3306/testdb" );
8688
} );
8789
8890
AfterSuite( async( I ) => {
@@ -177,6 +179,10 @@ async query( key, command, ... params );
177179
async run( key, command, ... params );
178180
```
179181

182+
## See also
183+
184+
[codeceptjs-cmdhelper](https://github.com/thiagodp/codeceptjs-cmdhelper) - Execute commands in the console/terminal
185+
180186

181187
## License
182188

0 commit comments

Comments
 (0)