Skip to content

Examples of using testing frameworks that are integrated with Velocity.

Notifications You must be signed in to change notification settings

ivancho98/velocity-examples

 
 

Repository files navigation

velocity-examples

Examples of using testing frameworks that are integrated with Velocity.

Installation

# clone the velocity-examples repo and run meteor
$ git clone https://github.com/meteor-velocity/velocity-examples.git
$ cd velocity-examples

Each folder is a separate Meteor app that showcases on of the Velocity testing frameworks.

For Jasmine:

$ cd leaderboard-jasmine
$ meteor

For Cucumber:

$ cd leaderboard-cucumber
$ meteor

For Nightwatch:

$ cd leaderboard-nightwatch
$ meteor

For Robot Framework:

Install external pre-requisites first. Then:

$ cd leaderboard-robotframework
$ meteor

=======

Included Test Frameworks

The velocity package coordinates between test frameworks and provides a common structure for reporting test results. Velocity by itself does not perform any tests. This example app includes the following velocity-compatible test frameworks:

  • mike:mocha - A Velocity version of mocha-web. Runs mocha tests in the Meteor context which is great for integration testing.
  • sanjo:jasmine - Easily write and run Jasmine tests for all your Meteor code.
  • clinical-nightwatch - run Selenium automated browser tests with the Nightwatch bridge. Good for end-to-end tests and acceptance tests.
  • meteor-robotframework - run Robot Framework end-to-end tests.

Tutorials

Writing Acceptance Tests (with Nightwatch)
Writing Unit Tests (with Jasmine and Velocity)
Writing Unit Tests (with Tinytest)

https://hackpad.com/Nightwatch-Discussion-HP8M8n3iDM4

Introduction to meteor-robotframework (Youtube)

About

Examples of using testing frameworks that are integrated with Velocity.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.4%
  • CSS 1.2%
  • Other 1.4%