Attester documentation

attester allows you to run any JavaScript tests in any web browsers.

When it comes to testing JavaScript there is a large set of testing frameworks. attester allows you to leverage any one of them to run your tests on any browser and use the result in your build or Continuous Integration environmet.

Features

Frameworks

Unit testing framework independent

Supports the following unit testing frameworks.

Adding support for other test frameworks is as simple as adding an adapter for that test framework.

Coverage

Instrument files for code coverage

Includes instrumentation for code coverage with node-coverage.

Code coverage (aggregating all browsers) output formats:

Browsers

Multiple browser instances in parallel

Supports multiple browser instances to run tests in parallel.

Supports PhantomJS for fully headless tests

Compatible with most other web browsers and operating systems, including mobile devices

  • Windows
  • Linux
  • OS X
  • Android
  • iOS
  • more

Build

Build and Continuous Integration tools

Test results output formats.

  • JSON file
  • JUnit-style single XML file
  • JUnit-style set of files, format accepted by Sonar

Integrates with


Why use attester?

Compared to other tools like Karma and Testem attester adds the following

  • Every test runs in isolation instead of adding all tests in the same page. This makes sure that a test doesn't have side effects on other tests.
  • Better parallel testing. Since every test is a single test task, tests can be dispatched to multiple browsers in parallel. Try running your test suite with 4 instances of PhantomJS to enjoy testing.

How does it look like?

How do I get started?

Read the getting started page for an introduction or check out more advanced articles on configuration file or using attester as a module.