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
@@ -27,15 +30,21 @@ To ensure that there are no mistakes when providing this input there are two add
27
30
28
31
To add values to the properties file follow the format:
29
32
30
-
## Example Usage for Properties
33
+
# ----------------------------------
34
+
# EXAMPLE VALUES
35
+
# ----------------------------------
36
+
example_value_1=value1
37
+
example_value_2=value2
38
+
39
+
## Reasoning for storing values in the properties file
31
40
32
41
1. Properties files use key-value pairs because they provide a simple, organized, and flexible way to store configuration data.
33
42
34
43
2. Each line in the file assigns a value to a key (For example, c1_daily_invitation_rate=10). This makes it easy to look up and change values as needed.
35
44
36
45
3. Using key-value pairs in properties files helps keep your tests clean, flexible, and easy to maintain by avoiding hard-coded values in your test scripts.
37
46
38
-
Why avoid hard coded values in tests?
47
+
**Why avoid hard coded values in tests?**
39
48
40
49
1. Maintainability: If we need to update a value (like a test organization ID or a rate), we only have to change it in one place—the properties file—instead of searching through all your test code.
41
50
@@ -56,7 +65,7 @@ Here there are two fixtures:
56
65
1.`smokescreen_properties` - which is used to load the file: tests/smokescreen/bcss_smokescreen_tests.properties
57
66
2.`get_general_properties` - which is used to load the file: tests/bcss_tests.properties
0 commit comments