Commit Graph

327 Commits

Author SHA1 Message Date
Ryan Dahl
4cf39d4a14
Rename assertEq to assertEquals (#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.
2019-03-06 19:42:24 -05:00
Vincent LE GOFF
e1d5c00279 Testing refactor (#240) 2019-03-06 16:39:50 -05:00
Andy Hayden
0fc13fffbd Replace deno.land/x/ with deno.land/std/ (#239) 2019-03-06 10:24:53 -05:00
Vincent LE GOFF
c734e32343 Refactor asserts in testing (#227) 2019-03-05 14:58:28 -05:00
Vincent LE GOFF
8fb9f709a6 Use pretty assertEqual in testing (#234) 2019-03-04 20:03:50 -05:00
Kitson Kelly
c0390ade3d Add eslint for linting (#235) 2019-03-04 19:53:35 -05:00
chiefbiiko
41bdd096f0 feat: parallel testing (#224) 2019-03-04 14:19:03 -05:00
Vincent LE GOFF
90871cfca6 Testing add ansi color support from color module (#223) 2019-03-02 14:56:53 -05:00
Ryan Dahl
93e5e0cd14
Bump CI to v0.3.1 (#220) 2019-03-01 02:54:21 -05:00
Andy Hayden
e609f0c7cb Clean up the test failure output (#209) 2019-02-23 11:24:57 -05:00
Bartek Iwańczuk
817a0fb439 Add runIfMain method (#215) 2019-02-23 11:18:43 -05:00
EnokMan
f65fda8336 Fixed non-standard prefix on importing (#216) 2019-02-23 11:13:53 -05:00
bokuweb
ddafcc6572 feat: Add pretty assert (#187) 2019-02-15 11:11:55 -05:00
Ryan Dahl
34ca60376b
Pretty print exceptions (#190)
Explained here:
https://github.com/denoland/deno/issues/1559#issuecomment-462811554
2019-02-12 18:24:29 -05:00
Rob Muhlestein
5119cd3c59 runTests added to docs (#164) 2019-01-29 15:10:40 -05:00
Yoshiya Hinosawa
b792fe8c72 Port prettier (#156) 2019-01-26 23:19:56 -05:00
James Garbutt
c1c18c9469 testing: add fail() (#123) 2019-01-26 06:51:19 -05:00
Ryan Dahl
ec1675a8ca
testing: Don't automatically run on import (#129) 2019-01-24 16:25:13 -05:00
Kitson Kelly
83bb7e99b6 Add assert.throwsAsync() 2019-01-22 08:34:35 -06:00
Kitson Kelly
2f0ca2242f Make testing more matainable 2019-01-22 08:34:35 -06:00
Kitson Kelly
9a3eb207dc Improve assert (#124) 2019-01-15 21:57:40 -05:00
Yoshiya Hinosawa
41a2d21826 feat: print test status on the same line as test name (#100) 2019-01-09 10:32:37 -05:00
Ryan Dahl
297cf0975e
Fix format globs (#87) 2019-01-06 14:19:15 -05:00
Masashi Hirano
8221924d9a Fix to use unknown type in testing/mod.ts (#73) 2019-01-04 11:59:50 -05:00
木杉
9d3d90560c fix(testing): readme import url (#81) 2019-01-04 05:09:42 -05:00
Masashi Hirano
9552f28daf Add testing/README.md (#75) 2019-01-03 14:16:15 -05:00
Ryan Dahl
61fdae51a7 Add testing module 2019-01-02 13:45:42 -05:00