This page contains basic instructions on installing CWB. If you just want to give it a quick spin without cluttering your Windows installation too much, you should test drive the demo.

Manual installation

The following only applies if you want to manually install CWB.

Java 7 or higher

Make sure you have Java 7 or higher installed and preferably configured in your path.  

IntelliJ IDEA 13 or higher

Enable the cucumber-java plugin.  Recent versions of IntelliJ have it enabled by default.

Maven 3.x

The maven binary should be available in your path.  You can check this by opening a command prompt and running mvn -version.

SAHI 5

This only applies if you want to use CWB for website testing using the SAHI library interface (cwb-sahi).  In most cases, you probably do.

By default SAHI requires the java binary to be available in your path. If you are unable to configure it that way, you can modify the startup scripts in the bin folder of your SAHI installation.

Installation/upgrade instructions

Currently we only prepared a build for Windows 64 bit and Mac OS X, if you need to make it work for another OS and can't figure it out by yourself, contact me or give a callout in the comments.

SAHI 5.0 should be running correctly at this point.  To ensure that your CWB projects use the new SAHI at all times, you must configure the path to SAHI in the CWB properties:

 

On Mac OS X you will usually override the paths to the correct SAHI installation folder in your ${user.home}/dev-configs/*properties:

# Sahi configuration
sahi.baseDir=/Applications/sahi-5.0
sahi.userData=/Applications/sahi-5.0/userdata


 

If you are running automated builds, you have to upgrade SAHI on every build server and ensure that the CWB properties on every server contain the right locations.

Testing my installation

If you want to test our demo, you can find it on this page.

This page contains basic instructions on installing CWB. If you just want to give it a quick spin without cluttering your Windows installation too much, you should test drive the demo.