Commit Graph

4686 Commits

Author SHA1 Message Date
chiefbiiko
4de86f04de Move benching into testing. (#258) 2019-03-11 14:21:13 -04:00
Axetroy
64d6bfca56 feat: add emptyDir for fs modules (#263) 2019-03-11 14:19:52 -04:00
Axetroy
142a1c6cf8 add fs/exists (#260) 2019-03-11 13:14:26 -04:00
Vincent LE GOFF
5852cd251b Datetime module improvement (#259) 2019-03-11 11:00:30 -04:00
Eugen Cazacu
2153fd2646 Eslint Fix http (#257) 2019-03-09 11:46:53 -05:00
Vincent LE GOFF
d4088a1920 Use AssertionError instead of Error in testing (#254) 2019-03-08 16:04:43 -05:00
Eugen Cazacu
84f9fe0649 http: add return types (#250) 2019-03-08 13:04:02 -05:00
Yoshiya Hinosawa
bf76484301 refactor: use execPath where appropriate (#255) 2019-03-08 12:41:47 -05:00
Ryan Dahl
02274ef48b
testing/asserts: Add unimplemented and unreachable (#248) 2019-03-08 02:32:46 -05:00
Andy Hayden
afaf343f37 Use fs.walk rather than git ls-files (#241) 2019-03-08 02:01:39 -05:00
Yoshiya Hinosawa
395392912d Use Deno global var instead of built-in "deno" module (#247) 2019-03-07 19:25:16 -05:00
Vincent LE GOFF
899ab67cea Add assertNotEquals, assertArrayContains (#246) 2019-03-07 09:08:19 -05:00
Yoshiya Hinosawa
c67751659c Bump CI to v0.3.2 (#245)
replace Deno.platform with Deno.build
2019-03-07 09:07:12 -05:00
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
Evan Hahn
d430a24124 Update mime-db to 1.38.0 (#238)
mime-db@1.38.0 was released on 2019-02-04. This updates the JSON file.
2019-03-05 22:00:39 -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
Dmitry Sharshakov
385f866a54 Refactor WebSockets (#173)
* Use assert.equal instead of deprecated assertEqual
* Replace let with const where possible
* Add WebSocketMessage type
* Use OpCode in WebSocketFrame
* Use const where possible in WS
* Separate sha1 tests, use const instead of let
2019-03-04 18:23:04 -05:00
chiefbiiko
41bdd096f0 feat: parallel testing (#224) 2019-03-04 14:19:03 -05:00
Vincent LE GOFF
e2fd507cfd Refactoring + Enhance UTs + Enhance doc (#230) 2019-03-04 13:06:05 -05:00
Vincent LE GOFF
facc8ce9d2 Fixing default parameters of runBenchmarks (#229) 2019-03-04 11:02:49 -05:00
Vincent LE GOFF
b4fba9fb24 Re-enabling colors after color testing (#226) 2019-03-03 17:21:24 -05:00
Vincent LE GOFF
0ba93a9b95 fixing readme link + version (#225) 2019-03-02 15:49:39 -05:00
Vincent LE GOFF
ccb452f775 fs.walk performance improvement (#221) 2019-03-02 14:57:37 -05:00
Vincent LE GOFF
90871cfca6 Testing add ansi color support from color module (#223) 2019-03-02 14:56:53 -05:00
Vincent LE GOFF
0c3ba838fa Glob integration for the FS walker (#219) 2019-03-02 14:56:19 -05:00
Ryan Dahl
93e5e0cd14
Bump CI to v0.3.1 (#220) 2019-03-01 02:54:21 -05:00
Bert Belder
6063378a92 Change import { x } from "deno" to const { x } = Deno (#218) 2019-02-26 00:35:50 -05:00
Ryan Dahl
d441a7dbf0 Fix import in http_bench.ts (#217) 2019-02-24 13:53:13 -08: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
Ryan Dahl
57c9176b19 Revert "Redesign of http server module (#188)"
We need to consider the API changes here more carefully.

This reverts commit da188a7d30.
and commit 8569f15207.
2019-02-19 13:18:41 -05:00
Dmitry Sharshakov
37a6bca8d0 Bump CI to v0.3 (#204) 2019-02-19 09:58:40 -05:00
Bartek Iwańczuk
271f7cc76d Reenable cat.ts test (#197) 2019-02-18 18:32:56 -05:00
Yusuke Sakurai
da188a7d30 fix: url match logic of http server (#199) 2019-02-18 18:32:31 -05:00
Andy Hayden
3be908facd Add fs.walk (#192) 2019-02-15 11:20:59 -05:00
bokuweb
ddafcc6572 feat: Add pretty assert (#187) 2019-02-15 11:11:55 -05:00
Yusuke Sakurai
8569f15207 Redesign of http server module (#188) 2019-02-15 11:03:57 -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
Ryan Dahl
19cccd2ebc
Style guide has moved. (#191) 2019-02-12 18:23:49 -05:00
chiefbiiko
0a160c3925 Add benching (#185) 2019-02-12 10:55:01 -05:00
Dmitry Sharshakov
d895c60a51 Add colors to log module (#175) 2019-02-10 21:28:52 -05:00
Yusuke Sakurai
fda9c98d05 feat: multipart, etc.. (#180) 2019-02-10 18:49:48 -05:00
Yusuke Sakurai
88ddd5677d refactor: make acceptWebSocket independent from ServerRequest (#178) 2019-02-10 18:45:24 -05:00
Bartek Iwańczuk
a81d2ae1f9 support NO_COLOR in colors module (#182) 2019-02-09 19:13:44 -05:00
Ryan Dahl
1abdc2efc0
Bump CI to v0.2.11 (#183) 2019-02-09 15:41:05 -05:00