Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-06-05 | Rename abbreviated assertions in std/testing (#6118) | Casper Beyer | |
2020-06-04 | feat(std/testing): Allow non-void promises in assertThrowsAsync (#6052) | Jon Short | |
2020-06-03 | refactor(std/testing/bench): Remove differentiating on runs count (#6084) | Szalay Kristóf | |
2020-06-03 | fix(std/testing/bench): clock assertions without --allow-hrtime (#6069) | Szalay Kristóf | |
2020-06-03 | docs: benchmarking (#6075) | Szalay Kristóf | |
2020-06-02 | fix(std/testing/asserts): Format values in assertArrayContains() (#6060) | Nayeem Rahman | |
2020-06-02 | feat(std/testing): benching progress callback (#5941) | Szalay Kristóf | |
2020-05-29 | Return results in benchmark promise (#5842) | Szalay Kristóf | |
2020-05-25 | fix(std/testing/asserts): Support browsers (#5847) | Nayeem Rahman | |
2020-05-19 | Provide better ANSI colorized output when inspecting objects (#5404) | Speykious | |
2020-05-15 | fix(std/testing): Provide message and diff for assertStrictEq (#5417) | Stéphane Klein | |
closes #5416 | |||
2020-04-28 | BREAKING: Remove Deno.EOF, use null instead (#4953) | Nayeem Rahman | |
2020-04-28 | BREAKING: remove overload of Deno.test() (#4951) | Bartek Iwańczuk | |
This commit removes overload of Deno.test() that accepted named function. | |||
2020-04-15 | Remove std/testing/format.ts (#4749) | Nayeem Rahman | |
2020-04-10 | fix(std/testing/asserts): change left/right to actual/expected (#4697) | Chris Knight | |
2020-04-06 | remove std/testing/runner.ts (#4649) | Bartek Iwańczuk | |
2020-04-04 | fix(std/testing): formatting bigint (#4626) | Khải | |
2020-04-01 | refactor(cli/js/testing): Reduce testing interfaces (#4451) | Nayeem Rahman | |
* Reduce "testing" interfaces * Use a callback instead of a generator for Deno.runTests() * Default RunTestsOptions::reportToConsole to true * Compose TestMessage into a single interface | |||
2020-03-28 | Update to Prettier 2 and use ES Private Fields (#4498) | Kitson Kelly | |
2020-03-20 | Add require-await lint rule (#4401) | Samrith Shankar | |
2020-03-19 | fix(std/http): Fix respond error test on Windows (#4408) | Nayeem Rahman | |
2020-03-19 | remove std/testing/runner.ts, use deno test for std/ tests (#4397) | Bartek Iwańczuk | |
This introduces BREAKING CHANGE by removing "std/testing/runner.ts". Std tests are now run using "deno test" subcommand. | |||
2020-03-19 | fix: std/testing/runner.ts and deno test (#4392) | Bartek Iwańczuk | |
After splitting "failFast" and "exitOnFail" arguments, there was a situation where failing tests did not exit with code 1. * fixed argument value passed to Deno.runTests() in deno test * fixed argument value passed to Deno.runTests() in std/testing/runner.ts * added integration tests for deno test to ensure failFast and exitOnFail work as expected * don't write test file to file system, but keep it in memory | |||
2020-03-18 | feat: 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-03-10 | refactor: Cleanup options object parameters (#4296) | Nayeem Rahman | |
2020-03-09 | test: add actual error class to fail message (#4305) | Chris Knight | |
2020-02-24 | rename Deno.Err -> Deno.errors (#4093) | Bartek Iwańczuk | |
2020-02-23 | fix: [ws] sock shouldn't throw eof error when failed to read frame (#4083) | Yusuke Sakurai | |
2020-02-21 | refactor: remove unneeded ErrorKinds (#3936) | Bartek Iwańczuk | |
2020-02-11 | update references to testing/mod.ts in manual (#3973) | Bartek Iwańczuk | |
2020-02-11 | refactor: rewrite tests in std/ to use Deno.test (#3930) | Bartek Iwańczuk | |
2020-02-07 | remove non-null assertion operator from std (part1) (#3900) | Yusuke Sakurai | |
2020-01-09 | feat: Deno.args now does not include script (#3628) | Ry Dahl | |
Previously Deno.args was ["script.js", "arg1", "arg2"] Now it is just ["arg1", "arg2"] BREAKING CHANGE | |||
2020-01-02 | Happy new year! (#3578) | Ry Dahl | |
2019-12-20 | feat: Add missing mod.ts files in std (#3509) | Nayeem Rahman | |
std/archive/tar.ts: - Remove FileReader. - Remove FileWriter. std/encoding/csv.ts: - ExtendedParseOptions -> ParseOptions - HeaderOption -> HeaderOptions - ParseOptions -> ReadOptions - readAll() -> readMatrix() std/encoding/yaml.ts: - DumpOptions -> StringifyOptions std/fmt/colors.ts: - getEnabled() -> getColorEnabled() - setEnabled() -> setColorEnabled() std/testing/mod.ts: - Re-export sibling modules. | |||
2019-12-18 | Improve empty test case error messages (#3514) | Yoshiya Hinosawa | |
2019-11-15 | run std test with cargo test (#3344) | Bartek Iwańczuk | |
Removes three CI jobs | |||
2019-11-14 | fix: error handling in std/fs/walk() (#3318) | Nayeem Rahman | |
- Make assertThrows() return the Error - Remove WalkOptions::onError() | |||
2019-11-13 | Update to TypeScript 3.7 (#3275) | Kitson Kelly | |
and update to prettier 1.19 Also, update `assert()` and remove not null assertions where possibly in `cli`. Closes #3273 | |||
2019-11-04 | Consolidates asserts#equal branches for keyed collections (Map/Set) and ↵ | James Wright | |
supports deep equality of Map keys (#3258) | |||
2019-10-29 | Support for deep `Map` equality with `asserts#equal` (#3236) | James Wright | |
2019-10-16 | std: Move fs/path to the top-level (#3100) | Nayeem Rahman | |
2019-10-09 | Run deno_std tests in github actions | Ryan Dahl | |
2019-10-09 | Move everything into std subdir | Ryan Dahl | |