Giter Club home page Giter Club logo

angular_tests_sample's Introduction

angular_tests_sample

A basic setup for angular unit tests using karma with jasmine and phantomjs

Prerequisites

Linux & OS X

Node Version Manager (NVM). This tool allows you easily install and manage multiple version of Node.js on the same system. To install or update nvm, you can use the install script using cURL:

 curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash

Windows

NVM not being compatible with Windows. Download the installer from Node.js website here and run it.

Pre-installation

Linux & OS X

Navigate at the root of the repository and run:

nvm install

The command will install the good version of node thanks to the .nvmrc file.

Windows

Nothing to do. Just ensure that the version of you node.js installation matches the one from the .nvmrc file of this repository. To check your node version:

node -v

Installation

Under the root folder of the repository, run:

npm install

Run the tests

If everythig went good so far, congrats, you're done! Just run the following command to see if the tests are properly running:

npm run karma

angular_tests_sample's People

Contributors

mic75 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.