summaryrefslogtreecommitdiff
path: root/cli/tests/integration/test_tests.rs
AgeCommit message (Collapse)Author
2021-11-23feat(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-15fix(test): support typechecking docs with CRLF line endings (#12748)Geert-Jan Zwiers
2021-10-11feat: provide ops details for ops sanitizer failures (#12188)Casper Beyer
2021-10-11feat(unstable/test): imperative test steps API (#12190)David Sherret
2021-09-30fix(runtime/testing): format aggregate errors (#12183)Casper Beyer
2021-09-04feat(cli): close test worker once all tests complete (#11727)Casper Beyer
2021-09-01fix(cli): retain path based test mode inference (#11878)Casper Beyer
2021-08-24feat(cli): add --ignore flag to test command (#11712)Casper Beyer
2021-08-15fix(test): dispatch load event before tests are run (#11708)Casper Beyer
2021-08-13test(cli): add test for test filtering (#11672)Casper Beyer
2021-08-12fix(cli): allow specifiers of unknown media types with test command (#11652)Casper Beyer
2021-07-29feat: type check codeblocks in Markdown file with "deno test --doc" (#11421)Casper Beyer
2021-07-26fix(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-14test(cli): ensure clear timeout doesn't trigger sanitizers (#11396)Casper Beyer
2021-07-10Revert "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-10feat(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-05feat(test): add --shuffle flag to randomize test ordering (#11163)Casper Beyer
2021-07-05fix(runtime): ignored tests should not cause permission changes (#11278)Casper Beyer
2021-06-29test(cli): harden test runner tests (#11166)Casper Beyer
2021-06-27chore: split up integration_tests.rs into separate files (#11131)David Sherret