Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

amaze-tdd

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amaze-tdd

A package for conducting functional front-end tests.

  • 0.0.9
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by25%
Maintainers
1
Weekly downloads
 
Created
Source

Amaze test-driven development

This is a set of tools that will allow for test-driven development using the following technologies:

  • Mocha (test runner using BDD)
  • Chai (an assertion library)
  • selenium-webdriver (browser control bindings)

TLDR; Install

npm install -g amaze-tdd

Running tests

Develop mode

You have the choice between Chrome (preferred) and Firefox for development. In either case you need to make sure the Amaze plugin is installed. As of right now, only Chrome self-installs.

  • amaze chrome, or
  • amaze firefox (no plugin at this time)

Production mode

For production, after JavaScript has been compiled and is placed on the remote server, you may use PhantomJS to headlessly test the interfaces. No browser plugin is required.

amaze phantomjs

Test files

Our process will run Mocha on any files in the specified path with the format *-spec.js. This means that the following examples will work:

  • test-spec.js
  • overlay-name-spec.js
  • camelCase-spec.js
  • ALLCAPS-spec.js
  • some-folder/test-spec.js
  • some-folder/nested-folder/test-spec.js

Basically any file that ends with -spec.js will be covered in testing.

Troubleshooting

Where we're goin', we don't need troubleshootin'...

FAQs

Package last updated on 20 Oct 2016

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