Browse Source

Added notes on matrices

Alois Mahdal (@azzgoat) 11 years ago
parent
commit
3b82e0a55b
1 changed files with 104 additions and 0 deletions
  1. 104
    0
      notes/matrices.md

+ 104
- 0
notes/matrices.md View File

@@ -0,0 +1,104 @@
1
+MATRICES
2
+========
3
+
4
+In cases when (more or less) the same test procedure needs to be performd on a
5
+group of equivalent and independent objects, ic might be desirable to generate
6
+collective form, usable for testing in parallel.
7
+
8
+
9
+
10
+Example
11
+-------
12
+
13
+
14
+Source STM defines actions that are only valid under certain circumstances.
15
+
16
+    Name: Release Client - parallel
17
+    Description: Example of parallel procedures
18
+    Vars: arch=amd64,x86
19
+    
20
+    # Parallel showcase #
21
+
22
+    ## Install ##
23
+    1. Create a folder with CJK characters
24
+    2. Install Product
25
+    3. Open Start menu -> ACME
26
+    4. Check links
27
+       * Help.lnk
28
+       * Product.lnk
29
+       * Product (64-bit).lnk {arch==amd64}
30
+    5. Restart
31
+
32
+
33
+The above can result in two STS:
34
+
35
+    Stm: /release/rc.stm
36
+    Stm Revision: 123
37
+    Params: arch=amd64
38
+    
39
+    # Parallel showcase #
40
+
41
+    ## Install ##
42
+    1. Create a folder with CJK characters
43
+    2. Install Product
44
+    3. Open Start menu -> ACME
45
+    4. Check links
46
+       * Help.lnk
47
+       * Product.lnk
48
+       * Product (64-bit).lnk
49
+    5. Restart
50
+
51
+
52
+    Stm: /release/rc.stm
53
+    Stm Revision: 123
54
+    Params: arch=x86
55
+    
56
+    # Parallel showcase #
57
+
58
+    ## Install ##
59
+    1. Create a folder with CJK characters
60
+    2. Install Product
61
+    3. Open Start menu -> ACME
62
+    4. Check links
63
+       * Help.lnk
64
+       * Product.lnk
65
+    5. Restart
66
+
67
+
68
+Or one "double" STS -- notice `Params:` header:
69
+
70
+    Stm: /release/rc.stm
71
+    Stm Revision: 123
72
+    Params: arch=x86+amd64
73
+    
74
+    # Parallel showcase #
75
+
76
+    ## Install ##
77
+    1. Create a folder with CJK characters
78
+    2. Install Product
79
+    3. Open Start menu -> ACME
80
+    4. Check links
81
+       * Help.lnk
82
+       * Product.lnk
83
+       * Product (64-bit).lnk {arch==amd64}
84
+    5. Restart
85
+
86
+
87
+The point is that the double STM can be rendered for parallel processing:
88
+
89
+    +-------------------------------------------------------------------+
90
+    | PARALLEL SHOWCASE                                                 |
91
+    +-------------------------------------------------------------------+
92
+    |                                                                   |
93
+    |  ## Install ##                              x86         amd64     |
94
+    | 1. Create a folder with CJK characters    [ Passed  ] [ Passed  ] |
95
+    | 2. Install Product                        [ Passed  ] [ Passed  ] |
96
+    | 3. Open Start menu -> ACME                [ Passed  ] [ Passed  ] |
97
+    | 4. Check links                            [ Passed  ] [ Passed  ] |
98
+    |    * Help.lnk                             [ Passed  ] [ Passed  ] |
99
+    |    * Product.lnk                          [ Passed  ] [ Failed  ] |
100
+    |    * Product (64-bit).lnk                             [ Passed  ] |
101
+    | 5. Restart                                [ Passed  ] [ Passed  ] |
102
+    |                                                                   |
103
+    +-------------------------------------------------------------------+
104
+