1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-01 09:24:20 -04:00
Commit graph

55 commits

Author SHA1 Message Date
Bartek Iwańczuk
917b202354 add file:// prefix for imports in test runner (denoland/deno_std#564)
Original: 15afc61356
2019-08-15 10:17:08 -04:00
Bartek Iwańczuk
4ce2a321c8 feat: test runner (denoland/deno_std#516)
Original: c44e5367bf
2019-08-14 20:04:56 -04:00
Bartek Iwańczuk
d928c0ca31 feat: add overloaded form of unit test declaration (denoland/deno_std#563)
Original: bd146e0188
2019-08-14 16:12:35 -04:00
Bartek Iwańczuk
eab0647bd1 refactor 'assertEquals' (denoland/deno_std#560)
* merge 'testing/pretty.ts' into 'testing/asserts.ts'
* throw AssertionError in assertEquals
* update misc tests use AssertionError
Original: ff2d7f24db
2019-08-14 10:22:31 -04:00
Nayeem Rahman
ad6360edf9 Make shebangs Linux compatible (denoland/deno_std#545)
Original: 5e77e8adc7
2019-07-28 11:10:29 +00:00
Rong Sen Ng
69d4d88b4f typo
Original: ba4210cdb9
2019-06-24 06:08:14 -07:00
Vincent LE GOFF
57edeacaa5 Testing: Pretty output + Silent mode (denoland/deno_std#314)
Original: d44a47a08d
2019-06-19 05:43:49 -07:00
Axetroy
c85b1c06a9 lint: add max line length rules (denoland/deno_std#507)
Original: b04fda30c8
2019-06-18 21:22:01 -07:00
Kitson Kelly
8e8f936e40 Remove console.error from asserts. (denoland/deno_std#483)
Original: 2292fbe6b1
2019-06-06 10:27:55 -04:00
Bartek Iwańczuk
50a79584cb chore: Implement strict mode (denoland/deno_std#453)
Original: be24677d15
2019-05-30 08:59:30 -04:00
Vincent LE GOFF
e56c207f2c benching: use performance.now (denoland/deno_std#385)
Original: ad1b95eaf7
2019-05-10 10:48:06 -04:00
Vincent LE GOFF
dcd01dd025 Eslint fixes (denoland/deno_std#356)
Make warnings fail
Original: 4543b563a9
2019-04-24 07:41:22 -04:00
Dmitry Sharshakov
eff23abc32 Support Sets in asserts.equals (denoland/deno_std#350)
Original: 9432d70329
2019-04-22 09:39:33 -04:00
Vincent LE GOFF
d2d5b6ac8e Fix eslint warnings and small clean ups (denoland/deno_std#339)
Original: 95ab4e2a3c
2019-04-14 10:53:19 -04:00
Bartek Iwańczuk
733fbfd555 Fix denoland/denodenoland/deno_std#2064 (denoland/deno_std#328)
Original: 2c119627dc
2019-04-09 04:33:22 -04:00
迷渡
06ec68d6f4 fix usage code syntax error (denoland/deno_std#318)
Original: 7f4dae109e
2019-04-05 14:19:13 +03:00
Arash Arbabi
fd170692dd fix: benchmarks not returning on deno 0.3.4+ (denoland/deno_std#317)
Original: a1ceaa6ef7
2019-03-30 15:52:33 -04:00
Ryan Dahl
d87c37f089 Bump CI to v0.3.5 (denoland/deno_std#312)
Disable bench_test.ts because it hangs.

Original: eb5b1d9f53
2019-03-30 15:03:43 -04:00
Vincent LE GOFF
8f0407efad Fix parallel testing (denoland/deno_std#309)
Fixes denoland/deno_std#308

Co-authored by @chiefbiiko
Original: cac060f388
2019-03-28 12:29:27 -04:00
Vincent LE GOFF
b7022848f6 testing: turn off exitOnFail by default (denoland/deno_std#307)
Original: d9e8953110
2019-03-26 11:29:12 -04:00
Vincent LE GOFF
630d0f213d Fix assertEquals for RegExp & Date (denoland/deno_std#305)
Original: e17364b91f
2019-03-26 08:15:16 -04:00
Axetroy
eaa795d477 fix: wrong usage of assertThrowsAsync which without await keyword (denoland/deno_std#295)
Original: 59adafe867
2019-03-19 13:22:33 -04:00
Vincent LE GOFF
2e1ed890b8 Documentation clean up (denoland/deno_std#288)
Original: b699fa67be
2019-03-18 11:08:01 -04:00
Yoshiya Hinosawa
f124e64526 fix: eslint errors (denoland/deno_std#265)
Original: 61af419bbc
2019-03-12 01:51:51 -04:00
chiefbiiko
4a97a6e67e Move benching into testing. (denoland/deno_std#258)
Original: 4de86f04de
2019-03-11 14:21:13 -04:00
Vincent LE GOFF
831d74e364 Use AssertionError instead of Error in testing (denoland/deno_std#254)
Original: d4088a1920
2019-03-08 16:04:43 -05:00
Ryan Dahl
b7a11b486d testing/asserts: Add unimplemented and unreachable (denoland/deno_std#248)
Original: 02274ef48b
2019-03-08 02:32:46 -05:00
Vincent LE GOFF
fd74b38d36 Add assertNotEquals, assertArrayContains (denoland/deno_std#246)
Original: 899ab67cea
2019-03-07 09:08:19 -05:00
Ryan Dahl
caa383a583 Rename assertEq to assertEquals (denoland/deno_std#242)
After some discussion it was found that assertEquals is more common
in JS (vs assertEqual, assertEq) and sounds better in the negated form:
assertNotEquals vs assertNE.
Original: 4cf39d4a14
2019-03-06 19:42:24 -05:00
Vincent LE GOFF
e36edfdb3f Testing refactor (denoland/deno_std#240)
Original: e1d5c00279
2019-03-06 16:39:50 -05:00
Andy Hayden
d29957ad17 Replace deno.land/x/ with deno.land/std/ (denoland/deno_std#239)
Original: 0fc13fffbd
2019-03-06 10:24:53 -05:00
Vincent LE GOFF
787207f11b Refactor asserts in testing (denoland/deno_std#227)
Original: c734e32343
2019-03-05 14:58:28 -05:00
Vincent LE GOFF
39fde3a454 Use pretty assertEqual in testing (denoland/deno_std#234)
Original: 8fb9f709a6
2019-03-04 20:03:50 -05:00
Kitson Kelly
17663c1232 Add eslint for linting (denoland/deno_std#235)
Original: c0390ade3d
2019-03-04 19:53:35 -05:00
chiefbiiko
ce7a987009 feat: parallel testing (denoland/deno_std#224)
Original: 41bdd096f0
2019-03-04 14:19:03 -05:00
Vincent LE GOFF
ef30a88542 Testing add ansi color support from color module (denoland/deno_std#223)
Original: 90871cfca6
2019-03-02 14:56:53 -05:00
Ryan Dahl
2db147a001 Bump CI to v0.3.1 (denoland/deno_std#220)
Original: 93e5e0cd14
2019-03-01 02:54:21 -05:00
Andy Hayden
7484cf88b5 Clean up the test failure output (denoland/deno_std#209)
Original: e609f0c7cb
2019-02-23 11:24:57 -05:00
Bartek Iwańczuk
ad77215052 Add runIfMain method (denoland/deno_std#215)
Original: 817a0fb439
2019-02-23 11:18:43 -05:00
EnokMan
a4383984d1 Fixed non-standard prefix on importing (denoland/deno_std#216)
Original: f65fda8336
2019-02-23 11:13:53 -05:00
bokuweb
0eed9b3029 feat: Add pretty assert (denoland/deno_std#187)
Original: ddafcc6572
2019-02-15 11:11:55 -05:00
Ryan Dahl
34ece9f2ed Pretty print exceptions (denoland/deno_std#190)
Explained here:
https://github.com/denoland/deno/issues/1559#issuecomment-462811554
Original: 34ca60376b
2019-02-12 18:24:29 -05:00
Rob Muhlestein
e7ff88655d runTests added to docs (denoland/deno_std#164)
Original: 5119cd3c59
2019-01-29 15:10:40 -05:00
Yoshiya Hinosawa
75dab82adb Port prettier (denoland/deno_std#156)
Original: b792fe8c72
2019-01-26 23:19:56 -05:00
James Garbutt
be65b2b0f6 testing: add fail() (denoland/deno_std#123)
Original: c1c18c9469
2019-01-26 06:51:19 -05:00
Ryan Dahl
6a0e32dc35 testing: Don't automatically run on import (denoland/deno_std#129)
Original: ec1675a8ca
2019-01-24 16:25:13 -05:00
Kitson Kelly
b13b2cd883 Add assert.throwsAsync()
Original: 83bb7e99b6
2019-01-22 08:34:35 -06:00
Kitson Kelly
8d474a7911 Make testing more matainable
Original: 2f0ca2242f
2019-01-22 08:34:35 -06:00
Kitson Kelly
7cb7b24537 Improve assert (denoland/deno_std#124)
Original: 9a3eb207dc
2019-01-15 21:57:40 -05:00
Yoshiya Hinosawa
6f8dc44a2b feat: print test status on the same line as test name (denoland/deno_std#100)
Original: 41a2d21826
2019-01-09 10:32:37 -05:00