Cukeforce is a testing tool for BDD enthusiastis who wants to extend the use of Behaviour Driven Development to Salesforce.com. Here we have a set of scripts to demonstrate usage of Cucumber and Capybara for Salesforce.com BDD
Make sure you have Ruby on Rails, Cucumber and Capybara Installed - Currently only supports Ruby 1.9.3 for Windows Here is some excellent instructions on the installation Cucumber for windows blog by Richard Lawrence
If you get SSL Certification errors see this blog on how to Install SSL Certification for Ruby on Rails
Make sure Selenium Webdriver is installed 'gem install selenium-webdriver'
Once Cucumber is installed download the Cukeforce into a your Cukeforce Project folder
Next go to the features folder edit the .feature file to update your salesforce.com userid and pwd
Simply run the feature file by typing "cucumber" at the command prompt.
-
It is better to have ansicon.exe installed in your windows machine to see the color texte in the command shell https://github.com/adoxa/ansicon
-
Good ruby editor like caret plugin for Chrome will help you edit the code from your browser environment http://thomaswilburn.net/caret/