summaryrefslogtreecommitdiff
path: root/std/testing/bench_test.ts
AgeCommit message (Collapse)Author
2020-08-26test(std/testing): reduce bench test iterations to 1e3 (#7200)Casper Beyer
2020-08-24feat: update to TypeScript 4.0 (#6514)Kitson Kelly
2020-07-14Use dprint for internal formatting (#6682)David Sherret
2020-06-12refactor: Don't destructure the Deno namespace (#6268)Nayeem Rahman
2020-06-09fix(std/testing/bench): Make progress callback async (#6175)Szalay Kristóf
2020-06-03refactor(std/testing/bench): Remove differentiating on runs count (#6084)Szalay Kristóf
2020-06-03fix(std/testing/bench): clock assertions without --allow-hrtime (#6069)Szalay Kristóf
2020-06-03docs: benchmarking (#6075)Szalay Kristóf
2020-06-02feat(std/testing): benching progress callback (#5941)Szalay Kristóf
2020-05-29Return results in benchmark promise (#5842)Szalay Kristóf
2020-03-28Update to Prettier 2 and use ES Private Fields (#4498)Kitson Kelly
2020-03-18feat: Deno.test() sanitizes ops and resources (#4399)Bartek Iwańczuk
This PR brings assertOps and assertResources sanitizers to Deno.test() API. assertOps checks that test doesn't leak async ops, ie. there are no unresolved promises originating from Deno APIs. Enabled by default, can be disabled using Deno.TestDefinition.disableOpSanitizer. assertResources checks that test doesn't leak resources, ie. all resources used in test are closed. For example; if a file is opened during a test case it must be explicitly closed before test case finishes. It's most useful for asynchronous generators. Enabled by default, can be disabled using Deno.TestDefinition.disableResourceSanitizer. We've used those sanitizers in internal runtime tests and it proved very useful in surfacing incorrect tests which resulted in interference between the tests. All tests have been sanitized. Closes #4208
2020-02-11refactor: rewrite tests in std/ to use Deno.test (#3930)Bartek Iwańczuk
2019-10-09Move everything into std subdirRyan Dahl