You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/ADDING_NEW_PROJECT.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ Sometimes, the locations that need to be changed maybe in multiple `pom` files.
45
45
46
46
### 2.1 Collect Configuration Parameters and Tests
47
47
48
-
*First*, collect the name, default value (empty if no default value) and description of each configuration parameters in the project. Store the information in a `tsv` file in `default_configs`. For example: [hadoop-common-default.tsv](https://github.com/xlab-uiuc/openctest/blob/master/core/default_configs/hadoop-common-default.tsv).
48
+
*First*, collect the name, default value (empty if no default value) and description of each configuration parameters in the project. Store the information in a `tsv` file in `default_configs`. For example: [hadoop-common-default.tsv](https://github.com/xlab-uiuc/openctest/blob/main/core/default_configs/hadoop-common-default.tsv).
49
49
50
50
*Second*, collect the list of configuration parameter names and put them in `openctest/core/identify_param/results/<project>/conf_params.list`.
51
51
@@ -54,7 +54,7 @@ Sometimes, the locations that need to be changed maybe in multiple `pom` files.
Collect a mapping from the deprecated parameter name to the new parameter name. Store the information in a `tsv` file in `deprecated_configs`. The format should be the deprecated parameter name followed by the new parameter name. For example: [hadoop.list](https://github.com/xlab-uiuc/openctest/blob/master/core/deprecated_configs/hadoop.list"hadoop.list")
57
+
Collect a mapping from the deprecated parameter name to the new parameter name. Store the information in a `tsv` file in `deprecated_configs`. The format should be the deprecated parameter name followed by the new parameter name. For example: [hadoop.list](https://github.com/xlab-uiuc/openctest/blob/main/core/deprecated_configs/hadoop.list"hadoop.list")
Copy file name to clipboardExpand all lines: core/README.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -76,11 +76,11 @@ Use **identify_param** to identify configuration parameters exercised by tests i
76
76
3. for each configuration parameter `p`, identify tests that reset the value of `p`, and exclude `p` from these tests' exercised parameter set.
77
77
4. generate a mapping where the keys are parameters, and values are lists of tests which exercise but not reset the parameters.
78
78
79
-
Please refer to the [identify_param](https://github.com/xlab-uiuc/openctest/tree/master/core/identify_param"identify_param") folder for instructions.
79
+
Please refer to the [identify_param](https://github.com/xlab-uiuc/openctest/tree/main/core/identify_param"identify_param") folder for instructions.
80
80
81
81
#### 1.2 Generating Parameter Sets for Ctests
82
82
83
-
*First*, use **generate_value** to automatically generate up to three different valid values for each parameter. The generated valid values are used to exclude tests hardcoded to specific parameter values (These tests cannot be transformed into ctests as they will fail on any other valid but different values), Please refer to the [generate_value](https://github.com/xlab-uiuc/openctest/tree/master/core/generate_value"generate_value") folder for instructions.
83
+
*First*, use **generate_value** to automatically generate up to three different valid values for each parameter. The generated valid values are used to exclude tests hardcoded to specific parameter values (These tests cannot be transformed into ctests as they will fail on any other valid but different values), Please refer to the [generate_value](https://github.com/xlab-uiuc/openctest/tree/main/core/generate_value"generate_value") folder for instructions.
84
84
85
85
*Second*, use **generate_ctest** to automatically generate ctests. It will do the following:
86
86
@@ -89,7 +89,7 @@ Please refer to the [identify_param](https://github.com/xlab-uiuc/openctest/tree
89
89
3. automatically identify ctests (tests that passed on all valid values) for each parameter from the test result.
90
90
4. output the generated "parameters -> ctests" mapping into a `json` file.
91
91
92
-
Please refer to the [generate_ctest](https://github.com/xlab-uiuc/openctest/tree/master/core/generate_ctest"generate_ctest") folder for instructions.
92
+
Please refer to the [generate_ctest](https://github.com/xlab-uiuc/openctest/tree/main/core/generate_ctest"generate_ctest") folder for instructions.
93
93
94
94
### 2. Running Ctests
95
95
@@ -100,4 +100,4 @@ Use **run_ctest** to run generated ctests against configuration files. It will d
100
100
3. run selected ctests against configuration values in `D`.
101
101
4. collect the test result for the specified configuration file.
102
102
103
-
Please refer to the [run_ctest](https://github.com/xlab-uiuc/openctest/tree/master/core/run_ctest"run_ctest") folder for instructions.
103
+
Please refer to the [run_ctest](https://github.com/xlab-uiuc/openctest/tree/main/core/run_ctest"run_ctest") folder for instructions.
Copy file name to clipboardExpand all lines: core/generate_ctest/README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
### Description
4
4
5
-
See **[Generating Parameter Sets for Ctests](https://github.com/xlab-uiuc/openctest/tree/master/core#12-generating-parameter-sets-for-ctests)**.
5
+
See **[Generating Parameter Sets for Ctests](https://github.com/xlab-uiuc/openctest/tree/main/core#12-generating-parameter-sets-for-ctests)**.
`test_result` is `p` if test passed, otherwise `f`. Skipped tests should be filtered automatically in the [Identifying Parameters Exercised in Tests](https://github.com/xlab-uiuc/openctest/tree/master/core#11-identifying-parameters-exercised-in-tests) step.
44
+
`test_result` is `p` if test passed, otherwise `f`. Skipped tests should be filtered automatically in the [Identifying Parameters Exercised in Tests](https://github.com/xlab-uiuc/openctest/tree/main/core#11-identifying-parameters-exercised-in-tests) step.
45
45
46
46
**Ctest mapping** is generated based on all the test result files in `test_result/<project>`. It is stored in `ctest_mapping/ctests-<project>.json` with format:
Copy file name to clipboardExpand all lines: core/identify_param/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
### Description
5
5
6
-
See [Identifying Parameters Exercised in Tests](https://github.com/xlab-uiuc/openctest/tree/master/core#11-identifying-parameters-exercised-in-tests)
6
+
See [Identifying Parameters Exercised in Tests](https://github.com/xlab-uiuc/openctest/tree/main/core#11-identifying-parameters-exercised-in-tests)
`test_result` is `p` if ctest passed, otherwise `f`. Skipped tests should be filtered automatically during [ctest generation](https://github.com/xlab-uiuc/openctest/tree/master/core#1-generating-ctests).
42
+
`test_result` is `p` if ctest passed, otherwise `f`. Skipped tests should be filtered automatically during [ctest generation](https://github.com/xlab-uiuc/openctest/tree/main/core#1-generating-ctests).
0 commit comments