Intern (https://theintern.github.io/) is a testing framework for testing websites and applications. Its website boasts that not only can it test plain JavaScript applications, but also test server-side websites built with Ruby and PHP, as well as mobile iOS, Android, and Firefox apps. Intern supports AMD and promises asynchronous testing.
If you're using Node.js in your development environment, Intern may integrate well. If you use Grunt, Intern comes with its own Grunt tasks for easy integration into your existing workflow. Intern also works with continuous integration services such as Jenkins and Travis CI.
Intern works in most modern browsers, including Android Browser, Chrome, Firefox, Safari, Opera, and Internet Explorer. For Internet Explorer, Intern works with versions 9 and later. If you need to test older versions of Internet Explorer, there is an intern-geezer
module available through npm
. The tests will work with Internet Explorer versions 6-8, which do...