MCPcopy Create free account
hub / github.com/nodejs/node / getRandomTestcasePaths

Method getRandomTestcasePaths

deps/v8/tools/clusterfuzz/js_fuzzer/corpus.js:155–158  ·  view source on GitHub ↗

* Returns "count" relative test paths, randomly selected from soft-skipped * and permitted files. Permitted files have a 4 times higher chance to * be chosen.

(count)

Source from the content-addressed store, hash-verified

153 * be chosen.
154 */
155 getRandomTestcasePaths(count) {
156 return random.twoBucketSample(
157 this.softSkippedFiles, this.permittedFiles, 4, count);
158 }
159
160 loadTestcase(relPath, strict, label) {
161 const start = Date.now();

Callers 3

getRandomTestcasesMethod · 0.95
testSoftSkippedFunction · 0.80
test_corpus.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected