Skip to content

Mitrend/flow-city

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running Tests

Prerequisites

npm install npm install -g phantomjs

Basic Usage

node_modules/casperjs/bin/casperjs test runCasperTest.js --disk-cache=yes --flowpath= --url=

Generate Snapshots

node_modules/casperjs/bin/casperjs test runCasperTest.js --disk-cache=yes --flowpath= --url= --generateMissingSnapshots

Generate Screenshots

node_modules/casperjs/bin/casperjs test runCasperTest.js --disk-cache=yes --flowpath= --url= --generateScreenshots

Accept Snapshots

node_modules/casperjs/bin/casperjs test runCasperTest.js --disk-cache=yes --flowpath= --url= --acceptSnapshot=

Accept All Snapshots

node_modules/casperjs/bin/casperjs test runCasperTest.js --disk-cache=yes --flowpath= --url= --acceptAllSnapshots

Output to junit xml

node_modules/casperjs/bin/casperjs test runCasperTest.js --disk-cache=yes --flowpath= --url= --xunit=xunit.xml

Notes

disk-cache=yes is required to suppress a warning(seems to be related to loading font files)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published