From c455c28b834683f6516422dbf1b020fbb2c1bbb6 Mon Sep 17 00:00:00 2001 From: Casper Beyer Date: Thu, 29 Apr 2021 02:17:04 +0800 Subject: feat(test): run test modules in parallel (#9815) This commit adds support for running test in parallel. Entire test runner functionality has been rewritten from JavaScript to Rust and a set of ops was added to support reporting in Rust. A new "--jobs" flag was added to "deno test" that allows to configure how many threads will be used. When given no value it defaults to 2. --- cli/tests/test/deno_test_only.ts.out | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cli/tests/test/deno_test_only.ts.out') diff --git a/cli/tests/test/deno_test_only.ts.out b/cli/tests/test/deno_test_only.ts.out index a23f2505c..25a0b1a0c 100644 --- a/cli/tests/test/deno_test_only.ts.out +++ b/cli/tests/test/deno_test_only.ts.out @@ -1,7 +1,8 @@ -[WILDCARD]running 1 tests +[WILDCARD] +running 1 tests test def ... ok ([WILDCARD]) -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out ([WILDCARD]) +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out ([WILDCARD]) FAILED because the "only" option was used -- cgit v1.2.3