Mocha Description
Mocha works in the browser. Mocha releases will include new builds of./mocha.js/./mocha.csss that can be used in the browser. Mocha will be able to tell if it should wait for the function to be called by adding an argument (usually called done) to it() to a test-callback to make sure it is aware of this. This callback accepts either an Error instance or subclass thereof, and any other value is invalid usage. It throws an error, usually resulting in a failed test. These reporters expect Mocha's to know how many tests it will run before execution. This information is not available in parallel mode because test files are only loaded when they are being run. Serial mode will stream the results of tests as they occur. Parallel mode buffers reporter output; reporting will occur after each file has been completed. In practice, the reporter output will appear as "chunks", but will otherwise be identical. A test file that is slow may cause a significant pause.
Pricing
Integrations
Company Details
Product Details
Mocha Features and Options
Mocha User Reviews
Write a Review- Previous
- Next