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: test/README.md
+20-3Lines changed: 20 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,9 @@ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
15
See the License for the specific language governing permissions and
16
16
limitations under the License.
17
17
18
+
The node-oracledb test suite uses 'mocha', 'should' and 'async'.
19
+
See LICENSE.md for relevant licenses.
20
+
18
21
## Running the complete test suite
19
22
20
23
### 1. Create a working directory
@@ -27,6 +30,7 @@ cd <some-directory>
27
30
### 2. Install node-oracledb
28
31
29
32
See [INSTALL](https://github.com/oracle/node-oracledb/blob/master/INSTALL.md)
33
+
for installation requirements and more details.
30
34
31
35
Install with:
32
36
@@ -50,7 +54,7 @@ cd <some-directory>/node_modules/oracledb
50
54
npm install mocha should async
51
55
```
52
56
53
-
Note: these are listed in `devDependencies`and`package.json` so `npm
57
+
Note: these are listed in `devDependencies`in`package.json` so `npm
54
58
install` will install them when executed inside a node-oracledb
55
59
package directory.
56
60
@@ -60,9 +64,22 @@ package directory.
60
64
vi <some-directory>/node_modules/oracledb/test/dbConfig.js
61
65
```
62
66
63
-
The user requires privileges to connect and create tables.
67
+
Change the credentials to a user who has privileges to connect and create tables:
68
+
69
+
```javascript
70
+
module.exports= {
71
+
user :"hr",
72
+
password :"welcome",
73
+
connectString :"localhost/orcl",
74
+
externalAuth :false
75
+
};
76
+
```
64
77
65
-
If you use external authentication, make sure Oracle Database and the authentication service have been appropriately configured. Also set the `externalAuth` property to `true` in `test/dbConfig.js`. See [Documentation for External Authentication](https://github.com/oracle/node-oracledb/blob/master/doc/api.md#extauth) for more details.
78
+
To use external authentication, set the `externalAuth` property to
79
+
`true`. Also make sure Oracle Database and the authentication service
80
+
have been appropriately configured. See
81
+
[Documentation for External Authentication](https://github.com/oracle/node-oracledb/blob/master/doc/api.md#extauth)
0 commit comments