|
@@ -0,0 +1,127 @@
|
|
1
|
+Arch notes
|
|
2
|
+==========
|
|
3
|
+
|
|
4
|
+Workflow
|
|
5
|
+--------
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+ [ Repo ]
|
|
9
|
+
|
|
10
|
+ | 1 init(type,args) # init repo:
|
|
11
|
+ | # * type can be Filesystem or other,
|
|
12
|
+ | # * args can be root, connection string...
|
|
13
|
+ | load(stm) # obtain STM from repo
|
|
14
|
+ v n
|
|
15
|
+
|
|
16
|
+ [ STM ]
|
|
17
|
+
|
|
18
|
+ | 1 gen_sts(stm,args) # generate a number of STS from a STM
|
|
19
|
+ | # * stm - STM object
|
|
20
|
+ | # * args - args specify ranges from where
|
|
21
|
+ | # STMs are generated; typically
|
|
22
|
+ | # Cartesian product
|
|
23
|
+ v n
|
|
24
|
+
|
|
25
|
+ [ STS ] = STM + ARGS
|
|
26
|
+
|
|
27
|
+ | 1 gen_task(sts,args) # a task (or a number of) can be created
|
|
28
|
+ | # from STS. In less managed scenarios (e.g.
|
|
29
|
+ | # Beta testing) STS can be served right
|
|
30
|
+ | # away, and task ID will be generated off-site
|
|
31
|
+ | # e.g. using embedded JS, at time of report
|
|
32
|
+ v n
|
|
33
|
+
|
|
34
|
+ [ TSK ] = STS + TID
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+### More graphical, from HTTP POV ###
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+ /release/rc.stm
|
|
42
|
+
|
|
43
|
+ +------------------[ vcs rev: 123 ]-----+
|
|
44
|
+ | STM # Source file |
|
|
45
|
+ +---------------------------------------+
|
|
46
|
+ | Name: Release Client |
|
|
47
|
+ | Component: ~ |
|
|
48
|
+ | Description: Basic release criterion |
|
|
49
|
+ | Owner: some.guy@example.com |
|
|
50
|
+ | Various ISTQB BS: this; that... |
|
|
51
|
+ | |
|
|
52
|
+ | Here the body sterts... |
|
|
53
|
+ | |
|
|
54
|
+ | # Main # |
|
|
55
|
+ | 1. Check A |
|
|
56
|
+ | > result is a |
|
|
57
|
+ | 2. Check IMAPIsm {proto==imap} |
|
|
58
|
+ | 2. Check POP3ism {proto==pop3} |
|
|
59
|
+ | > result is OK |
|
|
60
|
+ +---------------------------------------+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+ GET /release/rc.stm?os=7&proto=imap
|
|
64
|
+ Accept: text/plain
|
|
65
|
+
|
|
66
|
+ +---------------------------------------+
|
|
67
|
+ | STS # Slave template |
|
|
68
|
+ +---------------------------------------+
|
|
69
|
+ | Stm: /release/rc.stm |
|
|
70
|
+ | Stm Revision: 123 |
|
|
71
|
+ | Params: os=7; proto=imap |
|
|
72
|
+ | |
|
|
73
|
+ | Here the body starts... |
|
|
74
|
+ | |
|
|
75
|
+ | # Main # |
|
|
76
|
+ | 1. Check A |
|
|
77
|
+ | > result is a |
|
|
78
|
+ | 2. Check IMAPIsm |
|
|
79
|
+ | > result is OK |
|
|
80
|
+ +---------------------------------------+
|
|
81
|
+
|
|
82
|
+ GET /release/rc.stm?os=7&proto=pop3
|
|
83
|
+ Accept: text/html
|
|
84
|
+
|
|
85
|
+ +---------------------------------------+
|
|
86
|
+ | HTML # Generated from STS |
|
|
87
|
+ +---------------------------------------+
|
|
88
|
+ | # HTML version of above... |
|
|
89
|
+ | # With POP3 step instead of IMAP step |
|
|
90
|
+ | |
|
|
91
|
+ : :
|
|
92
|
+ ' '
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+Service API
|
|
97
|
+-----------
|
|
98
|
+
|
|
99
|
+ +----------------------
|
|
100
|
+ | SVC
|
|
101
|
+ +----------------------
|
|
102
|
+ |
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|