MCPcopy Index your code
hub / github.com/nodejs/node / ListTests

Method ListTests

test/testpy/__init__.py:181–189  ·  view source on GitHub ↗
(self, current_path, path, arch, mode)

Source from the content-addressed store, hash-verified

179 return result
180
181 def ListTests(self, current_path, path, arch, mode):
182 all_tests = [current_path + t for t in self.Ls(os.path.join(self.root))]
183 result = []
184 for tst in all_tests:
185 if self.Contains(path, tst):
186 file_path = os.path.join(self.root, reduce(os.path.join, tst[1:], "") + ".js")
187 result.append(
188 SimpleTestCase(tst, file_path, arch, mode, self.context, self, self.additional_flags))
189 return result
190
191class AbortTestConfiguration(SimpleTestConfiguration):
192 def __init__(self, context, root, section, additional=None):

Callers 2

ListTestsMethod · 0.45
ListTestsMethod · 0.45

Calls 6

LsMethod · 0.95
SimpleTestCaseClass · 0.85
reduceFunction · 0.50
joinMethod · 0.45
ContainsMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected