Behavior tests are known as end-to-end tests too. The purpose of a behavior test is simple: it makes sure that a feature of the project is working. A feature refers to the business logic behind the application. For example, a feature of our current project is viewing a list of products in our landing page. Another feature is the ability to add a variable quantity of products to the order.
To run behavior tests in Meteor, we essentially need to build a robot that can visit our website and try to make these features work. While this sounds complex, the Meteor Velocity project simplifies much of this when paired with Cucumber.
Velocity is a project that sets the stage for other testing frameworks to use. It works by creating mirrors of the project where tests can run.
Cucumber is a specification-by-example testing framework. It is meant to describe application features in plain English before they are programmed. In a collaboration setting, these tests are the ones that matter most...