Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-11-29 | Revert "fix(test): Improve reliability of `deno test`'s op sanitizer with ↵ | Bartek Iwańczuk | |
timers (#12908)" (#12929) This reverts commit d335343a79afbcfe719109af510fe7a1dd0df2e8. | |||
2021-11-28 | fix(test): Improve reliability of `deno test`'s op sanitizer with timers ↵ | Andreu Botella | |
(#12908) Although not easy to replicate in the wild, the `deno test` op sanitizer can fail when there are intervals that started before a test runs, since the op sanitizer can end up running in the time between the timer op for an interval's run resolves and the op for the next run starts. This change fixes that by adding a new macrotask callback that will run after the timer macrotask queue has drained. This ensures that there is a timer op if there are any timers which are unresolved by the time the op sanitizer runs. | |||
2021-11-23 | feat(test): Add more overloads for "Deno.test" (#12749) | Bartek Iwańczuk | |
This commit adds 4 more overloads to "Deno.test()" API. ``` // Deno.test(function testName() { }); export function test(fn: (t: TestContext) => void | Promise<void>): void; // Deno.test("test name", { only: true }, function() { }); export function test( name: string, options: Omit<TestDefinition, "name">, fn: (t: TestContext) => void | Promise<void>, ): void; // Deno.test({ name: "test name" }, function() { }); export function test( options: Omit<TestDefinition, "fn">, fn: (t: TestContext) => void | Promise<void>, ): void; // Deno.test({ only: true }, function testName() { }); export function test( options: Omit<TestDefinition, "fn" | "name">, fn: (t: TestContext) => void | Promise<void>, ): void; ``` | |||
2021-11-15 | fix(test): support typechecking docs with CRLF line endings (#12748) | Geert-Jan Zwiers | |
2021-10-11 | feat: provide ops details for ops sanitizer failures (#12188) | Casper Beyer | |
2021-10-11 | feat(unstable/test): imperative test steps API (#12190) | David Sherret | |
2021-09-30 | fix(runtime/testing): format aggregate errors (#12183) | Casper Beyer | |
2021-09-04 | feat(cli): close test worker once all tests complete (#11727) | Casper Beyer | |
2021-09-01 | fix(cli): retain path based test mode inference (#11878) | Casper Beyer | |
2021-08-24 | feat(cli): add --ignore flag to test command (#11712) | Casper Beyer | |
2021-08-15 | fix(test): dispatch load event before tests are run (#11708) | Casper Beyer | |
2021-08-13 | test(cli): add test for test filtering (#11672) | Casper Beyer | |
2021-08-12 | fix(cli): allow specifiers of unknown media types with test command (#11652) | Casper Beyer | |
2021-07-29 | feat: type check codeblocks in Markdown file with "deno test --doc" (#11421) | Casper Beyer | |
2021-07-26 | fix(cli): side-load test modules (#11515) | Casper Beyer | |
This fixes a regression introduced in 1.9 where test modules became main modules by side loading them in a generated module. | |||
2021-07-14 | test(cli): ensure clear timeout doesn't trigger sanitizers (#11396) | Casper Beyer | |
2021-07-10 | Revert "feat(cli/tools/test_runner): add terse reporter (#11156)" (#11352) | Ryan Dahl | |
it's another flag to understand, more code, and isn't something that anyone really needs. This reverts commit 9d57a4aaeb18461bbeeea30fc8ab8804357185c1. | |||
2021-07-10 | feat(cli/tools/test_runner): add terse reporter (#11156) | Casper Beyer | |
This commit adds "--terse" flag to "deno test" that makes testing reporter output one character per test case instead of one line per case. This is an unstable feature. | |||
2021-07-05 | feat(test): add --shuffle flag to randomize test ordering (#11163) | Casper Beyer | |
2021-07-05 | fix(runtime): ignored tests should not cause permission changes (#11278) | Casper Beyer | |
2021-06-29 | test(cli): harden test runner tests (#11166) | Casper Beyer | |
2021-06-27 | chore: split up integration_tests.rs into separate files (#11131) | David Sherret | |