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

64 commits

Author SHA1 Message Date
Nayeem Rahman
a472b6732d Test runner v2 (denoland/deno_std#604)
Original: 17a214bbd5
2019-09-28 09:33:17 -04:00
Nayeem Rahman
6fdf92d1ab Remove //testing/main.ts (denoland/deno_std#605)
Original: e3a33a79e6
2019-09-21 14:32:15 -04:00
Axetroy
878a9a29e7 bump prettier to 1.18.2 (denoland/deno_std#592)
Original: 06958a4ada
2019-09-11 23:31:23 -04:00
Bartek Iwańczuk
d7f3e28eed reenable test getMatchingUrlsLocal (denoland/deno_std#589)
Original: cfb0eb55ab
2019-09-08 17:20:11 -04:00
Ryan Dahl
25def60c21 bump ci to v0.17.0 (denoland/deno_std#585)
Original: 539338db33
2019-09-04 20:10:54 -04:00
Bartek Iwańczuk
9382f38c7c fix: better paths handling in test runner (denoland/deno_std#574)
Original: 5ef42ece7d
2019-08-30 13:43:32 -04:00
Ryan Dahl
4d997d4e22 Move colors to fmt (denoland/deno_std#571)
Original: 28e77389ff
2019-08-24 10:38:18 -07:00
Eugen Cazacu
e933a8a0e1 print out the failed tests after the summary (denoland/deno_std#554)
Original: ed1b9e0563
2019-08-22 03:13:12 -04:00
Bartek Iwańczuk
a1a024a9f0 fix: add global test registry (denoland/deno_std#568)
After adding deno test command a new problem appeared.

If you try running deno test inside this repo test runner will find 
80 test files but won't run any tests! This is caused by fact that 
deno test uses tagged version of standard library which causes 
test function available inside to repo to be different function that 
test available in standard lib used by deno test.
Original: 4531fa8159
2019-08-21 12:34:34 -04:00
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