regressify 1.0.11 → 1.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/alias.ps1 +44 -44
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -26,9 +26,9 @@ Please check [Documentation](https://tuyen.blog/optimizely-cms/testing/get-start
|
|
|
26
26
|
|
|
27
27
|
1. Use new command aliases:
|
|
28
28
|
|
|
29
|
-
| Command
|
|
30
|
-
|
|
|
31
|
-
|
|
|
32
|
-
|
|
|
33
|
-
|
|
|
34
|
-
|
|
|
29
|
+
| Command | Alias 1 | Alias 2 | Description |
|
|
30
|
+
| ------------------------------------------------------ | ------- | ------------- | ------------------- |
|
|
31
|
+
| regressify ref -- --test-suite alloy | r alloy | ref alloy | |
|
|
32
|
+
| regressify approve -- --test-suite alloy | a alloy | approve alloy | |
|
|
33
|
+
| regressify ref -- --test-suite alloy | t alloy | test alloy | |
|
|
34
|
+
| regressify ref -- --test-suite sign-in --requiredLogin | t alloy | test alloy | Run with login mode |
|
package/alias.ps1
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
function Approve-TestSuite {
|
|
2
|
-
[alias("a")]
|
|
3
|
-
[alias("approve")]
|
|
4
|
-
param (
|
|
5
|
-
# Test suite name
|
|
6
|
-
[Parameter(
|
|
7
|
-
ValueFromPipeline,
|
|
8
|
-
Mandatory)]
|
|
9
|
-
[string]
|
|
10
|
-
$name
|
|
11
|
-
)
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
function Reference-TestSuite {
|
|
17
|
-
[alias("r")]
|
|
18
|
-
[alias("ref")]
|
|
19
|
-
param (
|
|
20
|
-
# Test suite name
|
|
21
|
-
[Parameter(
|
|
22
|
-
ValueFromPipeline,
|
|
23
|
-
Mandatory)]
|
|
24
|
-
[string]
|
|
25
|
-
$name
|
|
26
|
-
)
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
function Test-TestSuite {
|
|
32
|
-
[alias("t")]
|
|
33
|
-
[alias("test")]
|
|
34
|
-
param (
|
|
35
|
-
# Test suite name
|
|
36
|
-
[Parameter(
|
|
37
|
-
ValueFromPipeline,
|
|
38
|
-
Mandatory)]
|
|
39
|
-
[string]
|
|
40
|
-
$name
|
|
41
|
-
)
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
1
|
+
function Approve-TestSuite {
|
|
2
|
+
[alias("a")]
|
|
3
|
+
[alias("approve")]
|
|
4
|
+
param (
|
|
5
|
+
# Test suite name
|
|
6
|
+
[Parameter(
|
|
7
|
+
ValueFromPipeline,
|
|
8
|
+
Mandatory)]
|
|
9
|
+
[string]
|
|
10
|
+
$name
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
regressify approve -- --test-suite $name
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
function Reference-TestSuite {
|
|
17
|
+
[alias("r")]
|
|
18
|
+
[alias("ref")]
|
|
19
|
+
param (
|
|
20
|
+
# Test suite name
|
|
21
|
+
[Parameter(
|
|
22
|
+
ValueFromPipeline,
|
|
23
|
+
Mandatory)]
|
|
24
|
+
[string]
|
|
25
|
+
$name
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
regressify ref -- --test-suite $name
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function Test-TestSuite {
|
|
32
|
+
[alias("t")]
|
|
33
|
+
[alias("test")]
|
|
34
|
+
param (
|
|
35
|
+
# Test suite name
|
|
36
|
+
[Parameter(
|
|
37
|
+
ValueFromPipeline,
|
|
38
|
+
Mandatory)]
|
|
39
|
+
[string]
|
|
40
|
+
$name
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
regressify test -- --test-suite $name
|
|
44
|
+
}
|