Ver código fonte

Add note on installed tests and versions

Alois Mahdal 6 anos atrás
pai
commit
e07bd0be9c
1 arquivos alterados com 19 adições e 0 exclusões
  1. 19
    0
      README.md

+ 19
- 0
README.md Ver arquivo

@@ -58,6 +58,25 @@ eg.:
58 58
     jattool runtest ./src/api/binary_req
59 59
 
60 60
 
61
+However, you can also install tests, which ensures that tests are versioned
62
+properly (and version logged within test is correct).
63
+
64
+    yum install jats-preupgrade-assistant
65
+    jattool tfind /usr/share
66
+    jattool runtest /usr/share/jats/suite/preupgrade-assistant/preupg/result-files
67
+
68
+should give you proper version:
69
+
70
+    test.INFO: id: jats://redhat.com/oamg/preupgrade-assistant//preupg/result-files
71
+    test.INFO: version: 0.0.0
72
+
73
+    session.START
74
+
75
+    phase.START 'prepare fake upgrade path'
76
+      test.INFO: CMD: rm -rf FOO FOO-raw FOO-results
77
+    [...]
78
+
79
+
61 80
 Dependencies - worksation
62 81
 -------------------------
63 82