aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/aedifex.lux
blob: 34ea448a7cb6e66e5baaa0f6891d3b2569f4d4dc (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
(.module:
  [library
   [lux "*"
    [program {"+" program:}]
    ["_" test {"+" Test}]
    [control
     ["[0]" io]]]]
  ["[0]" / "_"
   ["[1][0]" artifact]
   ["[1][0]" cli]
   ["[1][0]" command]
   ["[1][0]" dependency
    ["[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
  ($_ _.and
      /dependency.test
      /dependency/deployment.test
      /dependency/resolution.test
      /dependency/status.test
      ))

(def: test
  Test
  ($_ _.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
      ))

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