-
Notifications
You must be signed in to change notification settings - Fork 6
/
all-snooze-tests.ss
61 lines (51 loc) · 1.48 KB
/
all-snooze-tests.ss
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#lang scheme/base
(require mzlib/etc
scheme/class
scheme/unit
"snooze-api.ss"
"snooze-check-test.ss"
"snooze-concurrency-test.ss"
"snooze-delete-test.ss"
"snooze-find-test.ss"
"snooze-foreign-key-test.ss"
"snooze-hook-test.ss"
"snooze-make-test.ss"
"snooze-modify-test.ss"
"snooze-quick-find-test.ss"
"snooze-save-test.ss"
"snooze-transaction-test.ss"
"test-base.ss"
;"audit/all-audit-tests.ss"
"core/all-core-tests.ss"
"common/all-common-tests.ss"
"sql/all-sql-tests.ss")
; Tests ----------------------------------------
; snooze% test-suite -> test-suite
(define (make-snooze-tests all-back-end-tests)
(test-suite "snooze"
#:before
(lambda ()
(connect)
(drop-all-tables))
; Tests that can be run without a database connection:
all-core-tests
all-sql-tests
; Tests for the back end:
all-common-tests
all-back-end-tests
; Tests the front end:
snooze-make-tests
snooze-save-tests
snooze-delete-tests
snooze-modify-tests
snooze-foreign-key-tests
snooze-check-tests
snooze-hook-tests
snooze-transaction-tests
;snooze-concurrency-tests
snooze-find-tests
snooze-quick-find-tests
; Tests for the audit trails:
#;(make-audit-tests snooze)))
; Provide statements -----------------------------
(provide make-snooze-tests)