aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/aedifex.lux
blob: c9ce5c95e03bfe8722914ced0322322e2e3a6b01 (plain)
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
62
63
(.require
 [library
  [lux (.except)
   [program (.only program)]
   [control
    ["[0]" io]]
   [test
    ["_" property (.only Test)]]]]
 ["[0]" /
  ["[1][0]" artifact]
  ["[1][0]" cli]
  ["[1][0]" command]
  ["[1][0]" dependency (.only)
   ["[1]/[0]" deployment]
   ["[1]/[0]" resolution]
   ["[1]/[0]" status]]
  ["[1][0]" hash]
  ["[1][0]" input]
  ["[1][0]" local]
  ["[1][0]" metadata]
  ["[1][0]" package]
  ["[1][0]" parser]
  ["[1][0]" pom]
  ["[1][0]" profile]
  ["[1][0]" project]
  ["[1][0]" repository]
  ["[1][0]" runtime]])

(def dependency
  Test
  (all _.and
       /dependency.test
       /dependency/deployment.test
       /dependency/resolution.test
       /dependency/status.test
       ))

(def test
  Test
  (all _.and
       /artifact.test
       /cli.test
       /command.test
       ..dependency
       /hash.test
       /input.test
       /local.test
       /metadata.test
       /package.test
       /parser.test
       /pom.test
       /profile.test
       /project.test
       /repository.test
       /runtime.test
       ))

(def _
  (program args
    (<| io.io
        _.run!
        (_.times 100 _.announce_success)
        ..test)))