mirror of
https://github.com/karma-riuk/crab.git
synced 2025-07-05 05:28:13 +02:00
updated comment
This commit is contained in:
@ -83,7 +83,7 @@ class BuildHandler(ABC):
|
|||||||
|
|
||||||
self.extract_test_numbers(output)
|
self.extract_test_numbers(output)
|
||||||
|
|
||||||
grep_cmd = f"grep -r --include='*.java' -E '@Test|@ParameterizedTest' {self.path} | wc -l" # NOTE: After inspection, this is an upper bound, since comments get matched
|
grep_cmd = f"grep -r --include='*.java' -E '@Test|@ParameterizedTest' {self.path} | wc -l" # NOTE: After inspection, this is an upper bound, since comments get matched, but also, non c'entra nulla, not a good idea to keep it
|
||||||
try:
|
try:
|
||||||
result = subprocess.run(grep_cmd, shell=True, capture_output=True, text=True, check=True)
|
result = subprocess.run(grep_cmd, shell=True, capture_output=True, text=True, check=True)
|
||||||
test_count = result.stdout.strip()
|
test_count = result.stdout.strip()
|
||||||
|
Reference in New Issue
Block a user