Repository navigation
Expand file tree
/
Copy pathinput_file.json
More file actions
102 lines (102 loc) · 4.62 KB
/
Copy pathinput_file.json
File metadata and controls
102 lines (102 loc) · 4.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"lowercase_letters": {
"given_input": "a ab abc abcd abcdefg",
"expected_output": "abcdefg",
"expected_output_transposed": "gfedcba"
},
"numbers": {
"given_input": "1324 12 3 0 1325 23 341 13410158 1235 12 1",
"expected_output": "13410158",
"expected_output_transposed": "85101431"
},
"capital_letters": {
"given_input": "THIS IS A SUPERMEGAWORD TEST AND WE KNOW WHICH WORDS IS THE LONGEST",
"expected_output": "SUPERMEGAWORD",
"expected_output_transposed": "DROWAGEMREPUS"
},
"letters_numbers": {
"given_input": "THIS IS A TEST with LonG numbers 100000003023020",
"expected_output": "100000003023020",
"expected_output_transposed": "020320300000001"
},
"special_chars": {
"given_input": "@$#% @$#%@# %$@#$%!&^*^*() ! %@#45 @^236 :) :( testing is life",
"expected_output": "%$@#$%!&^*^*()",
"expected_output_transposed": ")(*^*^&!%$#@$%"
},
"empty_string": {
"given_input": "",
"expected_output": "",
"expected_output_transposed": ""
},
"long_string": {
"given_input": "Data-driven testing (DDT) is a software testing methodology that is used in the testing of computer software to describe testing done using a table of conditions directly as test inputs and verifiable outputs as well as the process where test environment settings and control are not hard-coded. In the simplest form the tester supplies the inputs from a row in the table and expects the outputs which occur in the same row. The table typically contains values which correspond to boundary or partition input spaces. In the control methodology, test configuration is 'read' from a database. Data-driven testing is the creation of test scripts to run together with their related data sets in a framework. The framework provides re-usable test logic to reduce maintenance and improve test coverage. Input and result (test criteria) data values can be stored in one or more central data sources or databases, the actual format and organization can be implementation specific.The data comprises variables used for both input values and output verification values.In advanced(mature) automation environments data can be harvested from a running system using a purpose - built custom tool or sniffer, the DDT framework thus performs playback of harvested data producing a powerful automated regression testing tool. Navigation through the program, reading of the data sources, and logging of test status and information are all coded in the test script.",
"expected_output": "advanced(mature)",
"expected_output_transposed": ")erutam(decnavda"
},
"null": {
"given_input": null,
"expected_output": "",
"expected_output_transposed": ""
},
"single_char": {
"given_input": "a",
"expected_output": "a",
"expected_output_transposed": "a"
},
"palindrome": {
"given_input": "larutanatural",
"expected_output": "larutanatural",
"expected_output_transposed": "larutanatural"
},
"long_string_with_palindrome": {
"given_input": "This is a long string but somewhere in between I will insert a palindrome such as larutanatural or anutforajaroftuna and we should get that word back since is the longest and its reverse for is the same",
"expected_output": "anutforajaroftuna",
"expected_output_transposed": "anutforajaroftuna"
},
"integer": {
"given_input": 23,
"expected_output": "",
"expected_output_transposed": ""
},
"negative_integer": {
"given_input": -23,
"expected_output": "",
"expected_output_transposed": ""
},
"float": {
"given_input": 3.32,
"expected_output": "",
"expected_output_transposed": ""
},
"negative_float": {
"given_input": -3.32,
"expected_output": "",
"expected_output_transposed": ""
},
"dictionary": {
"given_input": {},
"expected_output": "",
"expected_output_transposed": ""
},
"list": {
"given_input": [],
"expected_output": "",
"expected_output_transposed": ""
},
"long_number": {
"given_input": 312341124,
"expected_output": "",
"expected_output_transposed": ""
},
"long_float": {
"given_input": 313241.321234124,
"expected_output": "",
"expected_output_transposed": ""
},
"words_with_same_lenght": {
"given_input": "aa bb cc dd ee f gg h i j k",
"expected_output": "gg",
"expected_output_transposed": "gg"
}
}