intern alternatives and similar modules
Based on the "Testing" category.
Alternatively, view intern alternatives based on common mentions on social networks and blogs.
-
Playwright
Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API. -
Nightwatch
Integrated end-to-end testing framework written in Node.js and using W3C Webdriver API. Developed at @browserstack -
volkswagen
:see_no_evil: Volkswagen detects when your tests are being run in a CI server, and makes them pass. -
istanbul
Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale. -
loadtest
Runs a load test on the selected URL. Fast and easy to use. Can be integrated in your own workflow using the API. -
power-assert
Power Assert in JavaScript. Provides descriptive assertion messages through standard assert interface. No API is the best API. -
testcontainers-node
Testcontainers is a NodeJS library that supports tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
SaaSHub - Software Alternatives and Reviews
![SaaSHub Logo SaaSHub Logo](https://cdn-b.libhunt.com/assets/partners/saashub-small-09b040e303cf50000aca670e1c77a15c64fc5c073fbdca2665ec2b8b621efc1a.png)
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of intern or a related project?
Popular Comparisons
README
Intern
<!-- start-github-only -->
Software testing for humans
<!-- end-github-only -->
⚠️ This documentation is for the development version of Intern. For the current release version, go here.
Intern is a complete test system for JavaScript designed to help you write and run consistent, high-quality test cases for your JavaScript libraries and applications. It can be used to test any JavaScript code.
- Plain JavaScript code, in any module format (or no module format!)
- Web pages generated by server-side languages (like Java, PHP, or Ruby)
- Native or hybrid iOS, Android, and Firefox OS applications
- TypeScript code when running in Node, with no additional config
Intern is minimally prescriptive and enforces only a basic set of best practices designed to ensure your tests stay maintainable over time. Its extensible architecture allows you to write custom test interfaces, executors, and reporters to influence how your tests run & easily integrate with your existing coding environment. Intern also comes with Grunt tasks so it can be quickly added to existing Grunt-based workflows, and is designed to work out-of-the-box with popular continuous integration services like Jenkins and Travis CI.
If you’re into name-dropping, Intern gets used every day by teams at Twitter, Stripe, Mozilla, IBM, Marriott, Philips, Zenput, Alfresco, Esri, HSBC, ING, Intuit, and more. It’s also the testing framework of choice for growing numbers of open-source projects.
<!-- prettier-ignore-start -->
💡 Recently updated your browser and your WebDriver tests stopped working? You may need to [pin your WebDriver versions](./docs/running.md#selenium). <!-- prettier-ignore-end -->
Quick start
Install from npm
$ cd /my/project $ npm install intern
Create an
intern.json
file in your project root.{ "suites": "tests/unit/**/*.js" }
Verify that your configuration works by running Intern and checking that no errors are output.
$ ./node_modules/.bin/intern
Start [writing tests](docs/writing_tests.md)!
TypeScript setup
Intern installs a global variable that tests may not be aware of if nothing
imports the base intern
package. To ensure Intern’s types are loaded, add the
following to your tsconfig.json
:
{
"compilerOptions": {
"types": ["intern"]
}
}
Alternatively, add a triple-slash directive to the top of your suite files:
/// <reference types="intern" />
Compatibility
Intern can run unit tests in most browsers that support ECMAScript 5, including mobile browsers on Android and iOS, and in Node 10+. Note that Internet Explorer versions below 11 are not supported.
Intern’s self-tests run against IE 11, Safari 13, and the most recent few vesions of Firefox, Chrome, and Chromium Edge, as well as the latest LTS and current versions of Node.
Intern can run functional tests using WebDriver-compatible applications and services, including Selenium, Appium, Selendroid. It has built-in support for cloud testing services from BrowserStack, CrossBrowserTesting, SauceLabs, and TestingBot.
<!-- start-github-only -->
More information
Using Intern
- [Getting started](docs/getting_started.md) - Setting up Intern to test a project
- [How To](docs/how_to.md) - Quick answers to common questions
- [Configuration](docs/configuration.md) - How to configure Intern
- [Writing tests](docs/writing_tests.md) - The various ways of writing tests with Intern
- [Running](docs/running.md) - How to run Intern
- [Concepts](docs/concepts.md) - General testing concepts and definitions
- [Continuous integration](docs/ci.md) - Using Intern with CI systems
- [API](docs/api.md) - Summary API documentation
Extending Intern
- [Architecture](docs/architecture.md) - How Intern is organized
- [Extending](docs/extending.md) - Extending Intern with reporters and other plugins
- [Developing](docs/developing.md) - For Intern developers
- [Contributing](CONTRIBUTING.md) - How to contribute to Intern development <!-- end-github-only -->
Get help
The best place to ask questions and get answers about Intern is Stack Overflow.
Just tag your question with intern
. If you have more immediate questions, or
just want to chat with other people interested in Intern, join the Gitter room
at theintern/intern. See the
[Help](docs/help.md) page for more information.
<!-- start-github-only -->
License
Intern is a JS Foundation project offered under the [New BSD](LICENSE) license.
© SitePen, Inc. and its contributors
Intern’s self-tests run on <!-- end-github-only -->
<!-- doc-viewer-config { "api": "packages/core/docs/api.json", "pages": [ "docs/getting_started.md", "docs/changes_from_3.md", "docs/how_to.md", "docs/concepts.md", "docs/architecture.md", "docs/configuration.md", "docs/writing_tests.md", "docs/running.md", "docs/ci.md", "docs/extending.md", "docs/developing.md" ] } -->
*Note that all licence references and agreements mentioned in the intern README section above
are relevant to that project's source code only.