Socket
Socket
Sign inDemoInstall

karma-tidy

Package Overview
Dependencies
224
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    karma-tidy

Spectacular Test Runner for JavaScript.


Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Install size
10.9 MB
Created
Weekly downloads
 

Changelog

Source

1.0.0 (2016-06-23)

Bug Fixes

  • ci: Repaired AppVeyor for Node.js@0.12 (cbfd98c)
  • client: does not throws an error for non DOM object that has tagName property (ba55afb), closes #2139
  • files: Ignore included:false pattern (db42a7f), closes #1530
  • helper: Patched replaceWinPath from choking on null values (caa4d21)
  • karma: Escape quotes for file names. This fixes issue #1876. (9dff3f3), closes #1876 #1876
  • launcher: Allow dynamic browser launches (2b7d703)
  • launcher: send sigkill on timeout when force killing (c615c1f)
  • proxy: Port mixup and infinite loop (05616a2), closes #1987
  • reporter: Better handling of non string error (82f1c12)
  • reporter: Disable source maps for URLs without line number (2080221), closes #1274
  • Change timing on test (0cb6204)
  • Setting default value for config in runner and stopper (414db89)
  • reporters: Fix results not being reported (6303566)
  • reporters: Throwing error without loosing stack trace (8a515ae)
  • runner: Merge config.client.args with client.args provided by run (91de383), closes #1746
  • updater: Fix time unit on screen display from 'ms' to 'seconds'. (f39dd04)
  • web-server: Restart disconnected browser in non-singleRun mode. (f6587dc)
  • web-server: Update config on every request (8ef475f), closes #1972

Code Refactoring

  • context: Future-proofed context.html and debug.html for modularity (43f6a1a)

Features

  • browser: Emit a browser error when a disconnect occurs. (e36ba6c)
  • config: Add configuration for adding javascript version. (0239c75), closes #1719
  • config: Allow custom context and debug files, with feature test and some specs. (225c0e5)
  • file-list: Upgrade bluebird to v.3 (f5c252f)
  • logging: Add colors and log-level options to run-command (9d4e234)
  • logging: Add logging-setup function (d14bd62)
  • logging: Send color option to server (287d0db)
  • preprocessors: if a file matches multiple preprocessor patterns, intelligently merge the list of preprocessors, deduping and trying to preserve the order (59642a6)
  • reporter: improve source map handling and reporting. (cf0be47)
  • reporters: Look for color-reporter (fd9262d)
  • server: add 'listening' event with port number (82cd0df)
  • Add stopper to the public API (3d4fa00)
  • Add possibility to stop a karma server (66ae80b)
  • add support for node 6 (0b8dc2c)
  • adding support for before middleware (51b4206)
  • stopper: Enable programically detached server (f10fd81)
  • Fail on launcher-, reporter-, plugin-, or preprocessor-load errors. (fca930e), closes #855
  • upgrade dependencies to their latest versions (08242a0)

BREAKING CHANGES

  • context: Our context.html and debug.html structures have changed to lean on context.js and debug.js. This is in preparation for deeper context.js changes in #1984.

As a result, all customContextFile and customDebugFile options much update their format to match this new format.

<a name="0.13.22"></a>

Readme

Source

Karma

js-standard-style npm version npm downloads

Build Status Code Climate Dependency Status devDependency Status

A simple tool that allows you to execute JavaScript code in multiple real browsers.

The main purpose of Karma is to make your test-driven development easy, fast, and fun.

Help and Support

For questions and support please use the mailing list or Gitter. The issue tracker is for bug reports and feature discussions only.

When should I use Karma?

  • You want to test code in real browsers.
  • You want to test code in multiple browsers (desktop, mobile, tablets, etc.).
  • You want to execute your tests locally during development.
  • You want to execute your tests on a continuous integration server.
  • You want to execute your tests on every save.
  • You love your terminal.
  • You don't want your (testing) life to suck.
  • You want to use Istanbul to automagically generate coverage reports.
  • You want to use RequireJS for your source files.

But I still want to use _insert testing library_

Karma is not a testing framework, nor an assertion library. Karma just launches a HTTP server, and generates the test runner HTML file you probably already know from your favourite testing framework. So for testing purposes you can use pretty much anything you like. There are already plugins for most of the common testing frameworks:

If you can't find an adapter for your favourite framework, don't worry and write your own. It's not that hard and we are here to help.

Which Browsers can I use?

All the major browsers are supported, if you want to know more see the browsers page.

Troubleshooting

See FAQ.

I want to use it. Where do I sign?

You don't need to sign anything but here are some resources to help you to get started...

Obligatory Screencast.

Every serious project has a screencast, so here is ours. Just click here and let the show begin.

Installation.

See installation.

Using it.

See configuration.

This is so great. I want to help.

Please, see contributing.

Why did you create this?

Throughout the development of AngularJS, we've been using JSTD for testing. I really think that JSTD is a great idea. Unfortunately, we had many problems with JSTD, so we decided to write our own test runner based on the same idea. We wanted a simple tool just for executing JavaScript tests that is both stable and fast. That's why we use the awesome Socket.io library and Node.js.

My boss wants a license. So where is it?

MIT License

Keywords

FAQs

Last updated on 29 Oct 2015

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc