(n_method_test_suites: int)
| 105 | |
| 106 | |
| 107 | def get_rand_method_names(n_method_test_suites: int) -> List[str]: |
| 108 | unique_strings = set() |
| 109 | while len(unique_strings) < n_method_test_suites: |
| 110 | rand_str = "".join(random.choices(string.ascii_letters, k=5)) |
| 111 | if rand_str not in unique_strings: |
| 112 | unique_strings.add(rand_str) |
| 113 | return list(unique_strings) |
| 114 | |
| 115 | |
| 116 | def get_random_test_suites( |
no test coverage detected