github.com/mochajs/mocha
☕️ simple, flexible, fun javascript test framework for node.js & the browser
https://github.com/mochajs/mocha
ws
ac42f9892dd3dcbd3986cb39c4568ff5b71bcb23 authored over 13 years ago
ac42f9892dd3dcbd3986cb39c4568ff5b71bcb23 authored over 13 years ago
tweak spec style
721ed0423de53f605c3d6918791c1e5a771cbd8a authored over 13 years ago
721ed0423de53f605c3d6918791c1e5a771cbd8a authored over 13 years ago
commander dep
1b41e2dc5abef3a162d8dfc9f4bb1a5e680c135d authored over 13 years ago
1b41e2dc5abef3a162d8dfc9f4bb1a5e680c135d authored over 13 years ago
disable verbose progress bar by default
a4248603b4867171c85123dc1ed94b59392e856a authored over 13 years ago
a4248603b4867171c85123dc1ed94b59392e856a authored over 13 years ago
typo
0f050aed61276f607a59b9be21be0f650f6694d1 authored over 13 years ago
0f050aed61276f607a59b9be21be0f650f6694d1 authored over 13 years ago
tweak progress bar
464d56604798dbb5733cf48fac7dfaac3c3a7df5 authored over 13 years ago
464d56604798dbb5733cf48fac7dfaac3c3a7df5 authored over 13 years ago
ws
c3d13405856abddbb2f699c3f7cca2a36f6883bd authored over 13 years ago
c3d13405856abddbb2f699c3f7cca2a36f6883bd authored over 13 years ago
tweak meta http example
682cace985087924bab1d9db8ef5652e192bdf0b authored over 13 years ago
682cace985087924bab1d9db8ef5652e192bdf0b authored over 13 years ago
complete meta test test
ea3364ed254e2493754ba1ae0daa1f984fce48da authored over 13 years ago
ea3364ed254e2493754ba1ae0daa1f984fce48da authored over 13 years ago
moar meta 2 example
cf5fb1e84e306cdd955686968bf7367acb6bae36 authored over 13 years ago
cf5fb1e84e306cdd955686968bf7367acb6bae36 authored over 13 years ago
alternative http meta example
c26b81a6b1cef183b65e36862ded3b0d60c85358 authored over 13 years ago
c26b81a6b1cef183b65e36862ded3b0d60c85358 authored over 13 years ago
docs
6c48f6dcc5c256d8c70d00b074b3f5f1b506423c authored over 13 years ago
6c48f6dcc5c256d8c70d00b074b3f5f1b506423c authored over 13 years ago
styling
9e054d2d69f93b557a114ed29ccc3016df41027e authored over 13 years ago
9e054d2d69f93b557a114ed29ccc3016df41027e authored over 13 years ago
tweak styling a bit
1da6c4c1fb453625e45ac5990403fd95fea90a65 authored over 13 years ago
1da6c4c1fb453625e45ac5990403fd95fea90a65 authored over 13 years ago
Fixed spec error reporting
585614407f611c49f155a57fd97594571a64a7af authored over 13 years ago
585614407f611c49f155a57fd97594571a64a7af authored over 13 years ago
Added basic spec reporter. Closes #26
needs some love
599ad988af79495d51a7a92f0079b27a27e489e7 authored over 13 years ago
Added support for pending tests. Closes #27
fe956b1724506fcbf4cb5c050c9dc4c74b625481 authored over 13 years ago
fe956b1724506fcbf4cb5c050c9dc4c74b625481 authored over 13 years ago
docs
457744edf7fdb1f38107ae4d880e093d7d8e7909 authored over 13 years ago
457744edf7fdb1f38107ae4d880e093d7d8e7909 authored over 13 years ago
moar meta example
e5e63e77d3ad35cc6a7ecfbfcbf51b6fccc2cc7f authored over 13 years ago
e5e63e77d3ad35cc6a7ecfbfcbf51b6fccc2cc7f authored over 13 years ago
Added meta http example
d5119268af523c0cbf05cbaabcdda07772b95c02 authored over 13 years ago
d5119268af523c0cbf05cbaabcdda07772b95c02 authored over 13 years ago
Added quick fs example
showing that you can use the done() callback as a regular
callback with an error
-t, --timeout docs
34f9ae7fc4cf76b358bd6ce40e05298bed6613b8 authored over 13 years ago
34f9ae7fc4cf76b358bd6ce40e05298bed6613b8 authored over 13 years ago
docs
a0a7c88835323808435e042b277b53c9765a1d8b authored over 13 years ago
a0a7c88835323808435e042b277b53c9765a1d8b authored over 13 years ago
Added -t, --timeout <ms>
028586a182089996a35a3ab99610750769d77e6e authored over 13 years ago
028586a182089996a35a3ab99610750769d77e6e authored over 13 years ago
show durations in dot reporter
c5753faadd9fcbb0e8ecd2064304f4d211872c72 authored over 13 years ago
c5753faadd9fcbb0e8ecd2064304f4d211872c72 authored over 13 years ago
Added simple --grep test
32ddb5657dd6d60999a09833a2d0c95a917d667b authored over 13 years ago
32ddb5657dd6d60999a09833a2d0c95a917d667b authored over 13 years ago
mocha(1) docs
915ff8d2434213c9ade1db7aab7bd420d14b7e1e authored over 13 years ago
915ff8d2434213c9ade1db7aab7bd420d14b7e1e authored over 13 years ago
docs
caaa6cf84e02f53b4706bb8752e955c6a070a9a1 authored over 13 years ago
caaa6cf84e02f53b4706bb8752e955c6a070a9a1 authored over 13 years ago
Added -g, --grep <pattern> support
0693f775362efb55376c98043d10542e680582a1 authored over 13 years ago
0693f775362efb55376c98043d10542e680582a1 authored over 13 years ago
Fixed after() hook
should be after nested suite tests/hooks are executed
8abac2b06dbb7f057546e7b8266f976b7fbdda42 authored over 13 years ago
changed hook test to not use "exit" event
a throw in here can cause some ugly recursion
56fcaa4d8f17ed8b8b5369c0d94a0080d91e179f authored over 13 years ago
Fixed error listings due to stdout. Closes #17
3701cf0b6e08ff29919fd0d5a24abe70036f46de authored over 13 years ago
3701cf0b6e08ff29919fd0d5a24abe70036f46de authored over 13 years ago
Fixed epilogue with failures
208e9ab189d20a3941984fe8802d0a29be9ae4bf authored almost 14 years ago
208e9ab189d20a3941984fe8802d0a29be9ae4bf authored almost 14 years ago
fixed list reporter error styling to match prev commit
4fad88c9572ae41811647d4c3eeb6a5d717ace53 authored almost 14 years ago
4fad88c9572ae41811647d4c3eeb6a5d717ace53 authored almost 14 years ago
tweak list reporter styling
a5d98f4551f0c07995bdf6f6754c7a9a1039f2e2 authored almost 14 years ago
a5d98f4551f0c07995bdf6f6754c7a9a1039f2e2 authored almost 14 years ago
keywords
6209443ea5e0cdf7ea9aec2a03c659f460aab369 authored almost 14 years ago
6209443ea5e0cdf7ea9aec2a03c659f460aab369 authored almost 14 years ago
update deps
af87aabc175507d5fcae5bef82dbd28fc390dc34 authored almost 14 years ago
af87aabc175507d5fcae5bef82dbd28fc390dc34 authored almost 14 years ago
feature
fafef89576223e8eb6a5361f8c008656f0015b87 authored almost 14 years ago
fafef89576223e8eb6a5361f8c008656f0015b87 authored almost 14 years ago
Added duration highlight functionality. Closes #23
b2753a4db8bfa4e0c24d13cd0bfd0d76781380ae authored almost 14 years ago
b2753a4db8bfa4e0c24d13cd0bfd0d76781380ae authored almost 14 years ago
Added -g, --growl support. Closes #24
nexttick is not enough for the binVersion call in node-growl,
so that should be added as a dep l...
Added simple http test as an example
6143d08e26455b58b084310aad2d8c5cd8a15100 authored almost 14 years ago
6143d08e26455b58b084310aad2d8c5cd8a15100 authored almost 14 years ago
misc
c61f4d6ae42f7d3e4d764d9699444bba7de5d5e0 authored almost 14 years ago
c61f4d6ae42f7d3e4d764d9699444bba7de5d5e0 authored almost 14 years ago
more tests
9e1e9643b6325b4ea2f73e4563b3efc429c4782f authored almost 14 years ago
9e1e9643b6325b4ea2f73e4563b3efc429c4782f authored almost 14 years ago
moved global var leak to test Runner
c3aaca1766e17f3fdd011b4514c23e3dd498644f authored almost 14 years ago
c3aaca1766e17f3fdd011b4514c23e3dd498644f authored almost 14 years ago
global hook test
86caad87446c393f53419ca6f208f7e8da6bc63c authored almost 14 years ago
86caad87446c393f53419ca6f208f7e8da6bc63c authored almost 14 years ago
Fixed `Base#list()` index reporting
c84d68273da2683be0e0674b9c8f66495fbf6f72 authored almost 14 years ago
c84d68273da2683be0e0674b9c8f66495fbf6f72 authored almost 14 years ago
Added global var leak reporting. Closes #12
mocha will tell you with test introduced the leak.
we will want whitelisting support here as well
timeout test
076466a5a63867cd8b034d70631f6852e49cee8f authored almost 14 years ago
076466a5a63867cd8b034d70631f6852e49cee8f authored almost 14 years ago
Added quick hook error reporting
3b4bf098e1de12c4c1ba1e198cb40d63d78d2fa7 authored almost 14 years ago
3b4bf098e1de12c4c1ba1e198cb40d63d78d2fa7 authored almost 14 years ago
strip msg from stack trace
301f83d72c346bfc3c912e6b4669eef74e8ba7fa authored almost 14 years ago
301f83d72c346bfc3c912e6b4669eef74e8ba7fa authored almost 14 years ago
Fixed async hook arity check
0078383061861a82ba4f619eb356f2e5cf3961cd authored almost 14 years ago
0078383061861a82ba4f619eb356f2e5cf3961cd authored almost 14 years ago
Removed SIGINT trap for now
854e24263044ca9c2ac6af9f2e95569fec9b1b13 authored almost 14 years ago
854e24263044ca9c2ac6af9f2e95569fec9b1b13 authored almost 14 years ago
fixed more tests
8f56c7f83c384ab6a7f860489c3a6df671504bc0 authored almost 14 years ago
8f56c7f83c384ab6a7f860489c3a6df671504bc0 authored almost 14 years ago
Removed test arg from hooks
812509828361b6d43cea209f941eef5e29019ef4 authored almost 14 years ago
812509828361b6d43cea209f941eef5e29019ef4 authored almost 14 years ago
Added `Runner#fail(test, err)`
14923280a9b18f086ef81849ba0e0e59ecb3c8e3 authored almost 14 years ago
14923280a9b18f086ef81849ba0e0e59ecb3c8e3 authored almost 14 years ago
misc
6ae4a6b00fdd8f117797156048182cca5ad8ae72 authored almost 14 years ago
6ae4a6b00fdd8f117797156048182cca5ad8ae72 authored almost 14 years ago
emit end on uncaught
01dfc96301a5892d2b8f6c4ac220bea7f77bbc83 authored almost 14 years ago
01dfc96301a5892d2b8f6c4ac220bea7f77bbc83 authored almost 14 years ago
report uncaught exceptions
f93676be8e50fa6e506abe291b6f3f2c6ec6c8b8 authored almost 14 years ago
f93676be8e50fa6e506abe291b6f3f2c6ec6c8b8 authored almost 14 years ago
fixed a test
28fd1819260383a803f9fdb9f29b8f7c1f07dc6b authored almost 14 years ago
28fd1819260383a803f9fdb9f29b8f7c1f07dc6b authored almost 14 years ago
ws
00de3daf004754bc58cfc971f8732f46e96f047a authored almost 14 years ago
00de3daf004754bc58cfc971f8732f46e96f047a authored almost 14 years ago
skip first line of stack trace
2ea3dc2f7cef2beaca07106e2d6ac243ab6bd267 authored almost 14 years ago
2ea3dc2f7cef2beaca07106e2d6ac243ab6bd267 authored almost 14 years ago
removed error context strings
78bbf86e62d72043ea462de40e7be33a9047d27b authored almost 14 years ago
78bbf86e62d72043ea462de40e7be33a9047d27b authored almost 14 years ago
test name typo
179dad1b473cfe1bad93461bef7be02419737291 authored almost 14 years ago
179dad1b473cfe1bad93461bef7be02419737291 authored almost 14 years ago
serial suite execution
679936bce21edbcb927c9ddf9789b685e3ae8af2 authored almost 14 years ago
679936bce21edbcb927c9ddf9789b685e3ae8af2 authored almost 14 years ago
Added tests and stubs for .before() / .after()
1e93ae0a4cd711c0162d1b8fd4e81a29ddea6eae authored almost 14 years ago
1e93ae0a4cd711c0162d1b8fd4e81a29ddea6eae authored almost 14 years ago
less noise
678383a89b8d6dbbd75d1af80dc39f392eb21097 authored almost 14 years ago
678383a89b8d6dbbd75d1af80dc39f392eb21097 authored almost 14 years ago
docs
a0b0a36b97e41dc96d869afe2e972466136efa2d authored almost 14 years ago
a0b0a36b97e41dc96d869afe2e972466136efa2d authored almost 14 years ago
docs
991fb09b41bbb541dd7e4a9a23a956705ac3bb27 authored almost 14 years ago
991fb09b41bbb541dd7e4a9a23a956705ac3bb27 authored almost 14 years ago
Added duration in milliseconds to the list reporter
70739bca3577e96e83a8197c03ca3f46258b008c authored almost 14 years ago
70739bca3577e96e83a8197c03ca3f46258b008c authored almost 14 years ago
faster async tests
11489dc061f76880076b5238d8fd43f4446ee7cf authored almost 14 years ago
11489dc061f76880076b5238d8fd43f4446ee7cf authored almost 14 years ago
async case in test
5f49aa726e8b02db740d3d2494ee0471e6d9d0a8 authored almost 14 years ago
5f49aa726e8b02db740d3d2494ee0471e6d9d0a8 authored almost 14 years ago
Added async support
8c631ecf5f4bcdbbb1eedaca840bf9f609cd5293 authored almost 14 years ago
8c631ecf5f4bcdbbb1eedaca840bf9f609cd5293 authored almost 14 years ago
Changed: execute tests before sub-suites
0465790720e47aea60ce1df6294b9e7cc23a9df9 authored almost 14 years ago
0465790720e47aea60ce1df6294b9e7cc23a9df9 authored almost 14 years ago
wtf
a89728f9554833a096ef4c4f64a274650bce3242 authored almost 14 years ago
a89728f9554833a096ef4c4f64a274650bce3242 authored almost 14 years ago
nest describe()
7fb4ca91d8a02f87be70f376782639a6ed34decf authored almost 14 years ago
7fb4ca91d8a02f87be70f376782639a6ed34decf authored almost 14 years ago
Added nested serial hook test to show execution order
IMO its inside-out
895fff5c7337c7ecd97c4eace79b3f9b92c0fa4c authored almost 14 years ago
Default `make` to `make test-unit`
161ca2cde5a88bf8a94bdbfa8f73f0eeef8c62ec authored almost 14 years ago
161ca2cde5a88bf8a94bdbfa8f73f0eeef8c62ec authored almost 14 years ago
Added `make test-unit`
bd227035ca3699b1dd80112b57dc2584796615e4 authored almost 14 years ago
bd227035ca3699b1dd80112b57dc2584796615e4 authored almost 14 years ago
more tests
5c868248833b74c412bc4e908a23b0172c3411af authored almost 14 years ago
5c868248833b74c412bc4e908a23b0172c3411af authored almost 14 years ago
refactored internals
916b3649a073014415b32346f70b35e02672c36e authored almost 14 years ago
916b3649a073014415b32346f70b35e02672c36e authored almost 14 years ago
Added afterEach() test
a25dd8eac8f9b7276e3c68e73631bdd508195333 authored almost 14 years ago
a25dd8eac8f9b7276e3c68e73631bdd508195333 authored almost 14 years ago
Changed: pass Test object to beforEach/afterEach
04cd1a566b6dc89a0e1a866478299bbcb6e8c50f authored almost 14 years ago
04cd1a566b6dc89a0e1a866478299bbcb6e8c50f authored almost 14 years ago
Fixed tdd ui styling
98f0e50d2663ec12e31420f773474df4740ab95f authored almost 14 years ago
98f0e50d2663ec12e31420f773474df4740ab95f authored almost 14 years ago
Fixed bdd ui styling
bfae1e7fb8013a179c790b91c85d8e0bf1f80ad5 authored almost 14 years ago
bfae1e7fb8013a179c790b91c85d8e0bf1f80ad5 authored almost 14 years ago
prep for serial test
83e8d48d031456f8d19aa74ce2444442ddc7d39a authored almost 14 years ago
83e8d48d031456f8d19aa74ce2444442ddc7d39a authored almost 14 years ago
misc refactoring
06b94a397e0c349a1aa6eb02f985676a5544a8ad authored almost 14 years ago
06b94a397e0c349a1aa6eb02f985676a5544a8ad authored almost 14 years ago
misc refactoring
3e469f9cab6de5d5062b632ca14fba2536c6cf50 authored almost 14 years ago
3e469f9cab6de5d5062b632ca14fba2536c6cf50 authored almost 14 years ago
Fixed landing reporter whitespace
a032d0d4f7120f30285fa68005f61c73a4bb4139 authored almost 14 years ago
a032d0d4f7120f30285fa68005f61c73a4bb4139 authored almost 14 years ago
Fixed dot reporter whitespace
16e63285147bec31221af0fb33861e6a8c3ae3f6 authored almost 14 years ago
16e63285147bec31221af0fb33861e6a8c3ae3f6 authored almost 14 years ago
Merge branch 'feature/tests'
941edb3ba5300919cf3e9157ae99a78f1372f109 authored almost 14 years ago
941edb3ba5300919cf3e9157ae99a78f1372f109 authored almost 14 years ago
main test suite
5e748d1babc194ca87c0eed679dea6303a0466a3 authored almost 14 years ago
5e748d1babc194ca87c0eed679dea6303a0466a3 authored almost 14 years ago
Added one test per UI
018299e0e8d13cbcdfac8cf194581de085e557c1 authored almost 14 years ago
018299e0e8d13cbcdfac8cf194581de085e557c1 authored almost 14 years ago
REPORTER
622ec40d17c82de5f3ea54dfec36fa0656ebb9b6 authored almost 14 years ago
622ec40d17c82de5f3ea54dfec36fa0656ebb9b6 authored almost 14 years ago
added example test
79db963ba744d7aba993ad3791824a3b5b8fa97c authored almost 14 years ago
79db963ba744d7aba993ad3791824a3b5b8fa97c authored almost 14 years ago
Removed old spec reporter
678e6a0d510d67e2526fc1a915434ad79684c8fa authored almost 14 years ago
678e6a0d510d67e2526fc1a915434ad79684c8fa authored almost 14 years ago
most reporters using epilogue
29888c4e82309796e269c4c6a79f0efc3df4998b authored almost 14 years ago
29888c4e82309796e269c4c6a79f0efc3df4998b authored almost 14 years ago
Added `Base#epilogue()`
a9eed99c6a9ab5caac7ac29e4d328e555c759968 authored almost 14 years ago
a9eed99c6a9ab5caac7ac29e4d328e555c759968 authored almost 14 years ago
Fixed NaN tests completed for 0
5499a009945aab198d8c4aea72a6693e05d49114 authored almost 14 years ago
5499a009945aab198d8c4aea72a6693e05d49114 authored almost 14 years ago
setting up `make test`
09ed2c6f9dc0342cbfd5eee829c9a0bc73026a50 authored almost 14 years ago
09ed2c6f9dc0342cbfd5eee829c9a0bc73026a50 authored almost 14 years ago
fix styling slightly
f621cb6460375d7062b513ae2769e15b9e12c88a authored almost 14 years ago
f621cb6460375d7062b513ae2769e15b9e12c88a authored almost 14 years ago