# mocha-test-container-support **Repository Path**: mirrors_bpmn-io/mocha-test-container-support ## Basic Information - **Project Name**: mocha-test-container-support - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2025-11-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #mocha-test-container-support This [Mocha](https://github.com/mochajs/mocha) plugin provides test hooks for Mocha that add a container for every test case. The plugin is inspired by [jasmine-test-container-support](https://github.com/bpmn-io/jasmine-test-container-support) by [Nico Rehwaldt](https://github.com/nikku). #Install ```bash npm install --save-dev mocha-test-container-support ``` #Features * Add one test container for every test to the DOM * Allows checking the result of your test code visually while TDD * Full title (suite + test) is displayed for every test case * Test result is indicated by color and text * Tests are marked with an anchor element for navigation purposes ### Limits of the plugin * __No__ 'real' encapsulation of your tests * CSS / JS / DOM changes can still break other tests * Make sure tests use the test container as DOM root otherwise your DOM is not rendered in the container * Test is only rendered into a `
`, no `