You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26-50Lines changed: 26 additions & 50 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,55 +9,33 @@ This is a [Helper](https://codecept.io/helpers/) for [CodeceptJS](https://codece
9
9
10
10
## Install
11
11
12
+
**_Step 1 of 2_: Install the helper**
13
+
12
14
```bash
13
15
npm install --save codeceptjs-dbhelper
14
16
```
15
17
16
-
👉 You will also have to install the drivers of [database-js](https://github.com/mlaanderson/database-js) for the desired databases. For instance, whether you want to access a JSON file, just install the JSON driver.
17
-
18
-
### Available drivers
19
-
20
-
*Only install those you need*
21
-
22
-
- Access databases or SQL Server databases
23
-
```bash
24
-
npm install --save-dev database-js-adodb
25
-
```
26
-
- CSV files
27
-
```bash
28
-
npm install --save-dev database-js-csv
29
-
```
30
-
- Excel files
31
-
```bash
32
-
npm install --save-dev database-js-xlsx
33
-
```
34
-
- INI files
35
-
```bash
36
-
npm install --save-dev database-js-ini
37
-
```
38
-
- Firebase databases
39
-
```bash
40
-
npm install --save-dev database-js-firebase
41
-
```
42
-
- JSON files
43
-
```bash
44
-
npm install --save-dev database-js-json
45
-
```
46
-
- MySQL databases
47
-
```bash
48
-
npm install --save-dev database-js-mysql
49
-
```
50
-
- PostgreSQL databases
51
-
```bash
52
-
npm install --save-dev database-js-postgres
53
-
```
54
-
- SQLite databases
55
-
```bash
56
-
npm install --save-dev database-js-sqlite
57
-
```
58
-
59
-
60
-
## How to configure it
18
+
**_Step 2 of 2_: Install the driver for the database you need to use**
0 commit comments