|
|
@ -384,7 +384,15 @@ class TestResult(): |
|
|
|
elif self.status == "Skipped": |
|
|
|
elif self.status == "Skipped": |
|
|
|
COLOR = ('\033[0m', '\033[1;30m') |
|
|
|
COLOR = ('\033[0m', '\033[1;30m') |
|
|
|
|
|
|
|
|
|
|
|
return COLOR[1] + "%s | %s | %s s\n" % (self.name.ljust(self.padding), self.status.ljust(7), self.time) + COLOR[0] |
|
|
|
SYMBOL = " " |
|
|
|
|
|
|
|
if self.status == "Passed": |
|
|
|
|
|
|
|
SYMBOL = "✓ " |
|
|
|
|
|
|
|
elif self.status == "Failed": |
|
|
|
|
|
|
|
SYMBOL = "✖ " |
|
|
|
|
|
|
|
elif self.status == "Skipped": |
|
|
|
|
|
|
|
SYMBOL = "○ " |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return COLOR[1] + "%s | %s%s | %s s\n" % (self.name.ljust(self.padding), SYMBOL, self.status.ljust(7), self.time) + COLOR[0] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def check_script_list(src_dir): |
|
|
|
def check_script_list(src_dir): |
|
|
|