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

Function Main

deps/v8/tools/release/script_test.py:38–49  ·  view source on GitHub ↗
(argv)

Source from the content-addressed store, hash-verified

36
37
38def Main(argv):
39 script_path = os.path.dirname(os.path.abspath(__file__))
40 cov = coverage.coverage(include=([os.path.join(script_path, '*.py')]))
41 cov.start()
42 import test_scripts
43 alltests = map(unittest.TestLoader().loadTestsFromTestCase, [
44 test_scripts.ToplevelTest,
45 test_scripts.ScriptTest,
46 ])
47 unittest.TextTestRunner(verbosity=2).run(unittest.TestSuite(alltests))
48 cov.stop()
49 print(cov.report())
50
51
52if __name__ == '__main__':

Callers 1

script_test.pyFile · 0.70

Calls 8

coverageMethod · 0.80
stopMethod · 0.65
mapFunction · 0.50
printFunction · 0.50
joinMethod · 0.45
startMethod · 0.45
runMethod · 0.45
reportMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…