Skip to content

Latest commit

 

History

History

tests

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

CasperJS tests for Freeciv-web.

This test is run automatically when setting up Vagrant or TravisCI installation.

Freeciv-web requires CasperJS 1.1-beta3, SlimerJS git master (version 0.9.5 will not work), xvfb (for headless tests).

PhantomJS 2.0 is also supported, but not run automatically since there is no Ubuntu package for PhantomJS 2 yet.

The tests can also be run manually like this in the /tests directory:

xvfb-run casperjs --engine=slimerjs test freeciv-web-tests.js

Running the tests will also produce two screenshots.