velocity-examples

使用与Velocity集成的测试框架的示例。(Examples of using testing frameworks that are integrated with Velocity.)

Github stars Tracking Chart

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)

Main metrics

Overview
Name With Ownermeteor-velocity/velocity-examples
Primary LanguageJavaScript
Program languageCSS (Language Count: 4)
PlatformLinux, Mac, Windows
License:
所有者活动
Created At2014-06-28 04:43:18
Pushed At2015-12-22 15:53:22
Last Commit At2015-12-22 16:53:22
Release Count0
用户参与
Stargazers Count84
Watchers Count9
Fork Count57
Commits Count169
Has Issues Enabled
Issues Count31
Issue Open Count3
Pull Requests Count13
Pull Requests Open Count1
Pull Requests Close Count7
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private