> For the complete documentation index, see [llms.txt](https://raviram.gitbook.io/unit-testing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://raviram.gitbook.io/unit-testing/what-is-testing/frameworks-for-testing.md).

# Frameworks for testing

## Frameworks for testing

Popular frameworks for unit testing:

* JUnit for Java
* NUnit/XUnit for .NET languages
* Mocha for JavaScript
* PyUnit for Python

### Which to use?

Factors to consider when choosing a framework or tool for unit testing:

* Language compatibility
* Features and capabilities
* Community support and documentation
* Integration with other tools and frameworks
