-
Notifications
You must be signed in to change notification settings - Fork 1
/
test_0_0_0.txt
27 lines (27 loc) · 996 Bytes
/
test_0_0_0.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
TAP version 13
# Tests for express-mongodb-rest (0.0.0)
# Node.js (v7.9.0)
# Description: Express middleware for MongoDB REST APIs
# Date: 2017-12-24 03:59:23
# Dependencies: mongodb (^3.0.0-rc0)
# Developer: coveralls (^3.0.0), documentation (^5.3.3), dotenv (^4.0.0), express (^4.16.2), express-query-int (^2.0.0), istanbul (^0.4.5), moment (^2.19.1), supertest (^3.0.0), tape (^4.8.0)
ok 1 (MAIN) insertMany
# (A) tests on app response
ok 2 (A) base app GET 200 success
ok 3 (A) REST GET 200 success
ok 4 (A) REST POST 200 success
ok 5 (A) REST PUT 200 success
ok 6 (A) REST DELETE 200 success
# (B) tests on base app
ok 7 (B) base /api GET
ok 8 (B) base /api GET string query
ok 9 (B) base /api GET number query
# (C) tests on REST app
ok 10 (C) REST /rest GET
ok 11 (C) REST /rest GET string query
ok 12 (C) REST /rest GET number query
ok 13 (C) REST /rest GET OR string query
ok 14 (C) REST /rest POST
ok 15 (C) REST /rest PUT
ok 16 (C) REST /rest DELETE
ok 17 (MAIN) Drop MongoDB database