summaryrefslogtreecommitdiff
path: root/std/testing
AgeCommit message (Collapse)Author
2021-02-02chore: remove std directory (#9361)Casper Beyer
This removes the std folder from the tree. Various parts of the tests are pretty tightly dependent on std (47 direct imports and 75 indirect imports, not counting the cli tests that use them as fixtures) so I've added std as a submodule for now.
2021-01-10update copyright to 2021 (#9081)Ryan Dahl
2021-01-02fix(std): Don't use JSDoc syntax for browser-compatibility headers (#8960)Nayeem Rahman
2020-11-19docs(std): add missing jsdoc comments to exported functions (#8442)William Perron
includes: - http/file_server.ts - testing/_diff.ts - testing/asserts.ts Relates to #7487
2020-11-03build: migrate to dlint (#8176)Bartek Iwańczuk
This commit migrates repository from using "eslint" to "dlint" for linting JavaScript code.
2020-10-26feat(std/testing): Add assertExists assertion (#7874)Yasser A.Idrissi
2020-10-26rename(std/testing): rename assert*Contains to assert*Includes (#7951)Tim Reichen
This commit renames two assertion functions to better align with JS API: - assertStringContains -> assertStringIncludes - assertArrayContains -> assertArrayIncludes
2020-10-21feat(std/testing): Add support for object assertion against object subset ↵Simon Lecoq
(#8001) This commit add supports for a new assertion function "assertObjectMatch" which allows to test an actual object against an expected object subset (i.e. inclusivity, not equality).
2020-10-04docs(std): version all imports in README (#7442)tokiedokie
Use $STD_VERSION in std/ README files to automatically display proper version.
2020-10-04docs: end sentences with a period in markdown (#7813)Trivikram Kamat
2020-10-01refactor(std/testing): Get rid of default export and make ↵tokiedokie
std/testing/diff.ts private (#7592)
2020-09-30feat(cli/console): Add Deno.InspectOptions::colors (#7742)Nayeem Rahman
Ref: https://github.com/denoland/deno/pull/7516#pullrequestreview-489567120
2020-09-27feat(fmt): Sort named import and export specifiers (#7711)David Sherret
2020-09-21chore: add copyright (#7593)tokiedokie
2020-09-18fix(cli/console): always quote and escape inspected strings (#7546)Casper Beyer
2020-09-16fix(std/testing): assertion diff color (#7499)Pig Fang
2020-08-28fix(std/testing): invalid dates assertion equality (#7230)Christian Petersen
2020-08-27feat(std/testing): add assertNotMatch (#6775)xcatliu
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-08-20fix(std/node): misnamed assert exports (#7123)Schwarzkopf Balázs
2020-07-14Use dprint for internal formatting (#6682)David Sherret
2020-07-14fix(std/testing): assertThrows inheritance (#6623)Rob Waller
2020-07-11feat(Deno.inspect): Add sorted, trailingComma, compact and iterableLimit to ↵Nayeem Rahman
InspectOptions (#6591)
2020-07-05fix(std/tesing/asserts): assertEquals/NotEquals should use milliseconds in ↵uki00a
Date (#6644)
2020-07-02improve(std/asserts): allow assert functions to specify type parameter (#6413)WJH
2020-07-01upgrade: swc_ecma_visit, dprint, deno_lint (#6580)Bartek Iwańczuk
2020-06-25refactor(std/testing): Remove unuseful statement (#6486)Yasser A.Idrissi
2020-06-24fix(std/testing) assertArrayContains should work with any array-like (#6402)Casper Beyer
2020-06-23fix(std/testing): assertThrows gracefully fails if non-Error thrown (#6330)Rob Waller
2020-06-16Update assertions names in std/testing README (#6318)Vladimir Iakovlev
2020-06-13Fix assertEqual so that it handles URL objects (#6278)Joel Chippindale
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-05Rename abbreviated assertions in std/testing (#6118)Casper Beyer
2020-06-04feat(std/testing): Allow non-void promises in assertThrowsAsync (#6052)Jon Short
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-02fix(std/testing/asserts): Format values in assertArrayContains() (#6060)Nayeem Rahman
2020-06-02feat(std/testing): benching progress callback (#5941)Szalay Kristóf
2020-05-29Return results in benchmark promise (#5842)Szalay Kristóf
2020-05-25fix(std/testing/asserts): Support browsers (#5847)Nayeem Rahman
2020-05-19Provide better ANSI colorized output when inspecting objects (#5404)Speykious
2020-05-15fix(std/testing): Provide message and diff for assertStrictEq (#5417)Stéphane Klein
closes #5416
2020-04-28BREAKING: Remove Deno.EOF, use null instead (#4953)Nayeem Rahman
2020-04-28BREAKING: remove overload of Deno.test() (#4951)Bartek Iwańczuk
This commit removes overload of Deno.test() that accepted named function.
2020-04-15Remove std/testing/format.ts (#4749)Nayeem Rahman
2020-04-10fix(std/testing/asserts): change left/right to actual/expected (#4697)Chris Knight
2020-04-06remove std/testing/runner.ts (#4649)Bartek Iwańczuk