Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | feat(unstable/test): include test step pass/fail/ignore counts in final ↵ | David Sherret | |
report (#12432) | |||
2021-11-15 | fix(test): support typechecking docs with CRLF line endings (#12748) | Geert-Jan Zwiers | |
2021-10-13 | fix(runtime/ops/worker_host): move permission arg parsing to Rust (#12297) | Nayeem Rahman | |
2021-10-13 | chore: fix flaky steps_invalid_usage tests (#12422) | David Sherret | |
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-26 | refactor(cli): introduce module specifier test modes (#11769) | Casper Beyer | |
This commit merges the two vectors of specifiers into a single one introducing the concept of a "TestMode" which is a tri-state enum specifying how a specifier is to be tested (as documentation, as an executable module or as both). This is determined during the collection phase and determines how a specifier will be executed based on how the specifier was collected (directly or not) and if it has an eligible media_type when fetched. For example "deno test README.md" is marked as documentation because, while it is a direct inclusion it is not an executable media type therefore will only have the fenced code blocks that can be parsed from it tested. | |||
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-14 | fix(cli): explicitly scan for ignore attribute in inline tests (#11647) | Casper Beyer | |
This commits adds "ignore" as a known attribute for Markdown codeblock which drops a code block early whenever it is seen in documentation tests. | |||
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-08-11 | chore: move test files to testdata directory (#11601) | David Sherret | |