New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

testem

Package Overview
Dependencies
Maintainers
4
Versions
393
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

testem

Test'em 'scripts! Javascript Unit testing made easy.

  • 3.15.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
4
Weekly downloads
 
Created

What is testem?

Testem is a test runner for JavaScript that works with various testing frameworks and libraries. It is designed to be simple to set up and use, and it supports running tests in multiple browsers and environments.

What are testem's main functionalities?

Running Tests

Testem can run tests in continuous integration mode using the 'ci' command. This is useful for automated testing in CI/CD pipelines.

testem ci

Configuration

Testem allows you to configure your test setup using a configuration file. This JSON example configures Testem to use QUnit as the testing framework, specifies source and test files, and sets up browsers for development and CI environments.

{
  "framework": "qunit",
  "src_files": [
    "src/**/*.js",
    "tests/**/*.js"
  ],
  "launch_in_dev": [
    "Chrome"
  ],
  "launch_in_ci": [
    "PhantomJS"
  ]
}

Browser Launchers

Testem can list all available browser launchers using the 'launchers' command. This helps in identifying which browsers are available for running tests.

testem launchers

Test Reporting

Testem supports various reporters for test results. This example shows how to configure Testem to use the TAP (Test Anything Protocol) reporter.

{
  "reporter": "tap"
}

Other packages similar to testem

Keywords

FAQs

Package last updated on 11 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc