Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
= jbehave-i18n http://github.com/emerleite/jbehave-i18n == Description The target of this project is to provide an easy way to write jbehave acceptance tests in your language. == Runtime dependencies * Java 1.5 * Jbehave 2.x == Installation To build jbehave-i18n from source you must have ruby installed in your system If you don't kwnow how to install ruby, google is your best friend :) - http://www.google.com/search?q=ruby+install You also need buildr - http://buildr.apache.org - sudo env JAVA_HOME=$JAVA_HOME gem install buildr Then, just clone jbehave i18n repo and build it: - git clone git://github.com/emerleite/jbehave-i18n.git - cd jbehave-i18n - buildr package Add the jar file located on target/jbehave-i18n-VERSION.jar to your application classpath. == Getting Started Step 1: Create a keyword.yaml to be deployed in root of your application runtime classpath Step 2: Define keys for "scenario", "given", "when", "then" and "and". Encode this file with UTF-8 Ex: scenario: Cenário given: Dado when: Quando then: Então and: E Step 3: Create your specifications like this: - Spec files must end with .scenario - Ex:something.scenario - Must extend I18nScenario insted of Scenario - Must extend I18nSteps insted of Steps - Spec file must be in the same package of Scenario class Step 4: Take a look at src/test/java and src/test/resources. Its the best way to learn jbehave-i18n In Throuble? Open a ticket at http://github.com/emerleite/jbehave-i18n/issues == Licence See LICENSE.txt for details. == Notes - Now we are using YAML and you can encode your keywords.yaml file using UTF-8. - jbehave-i18n have only been tested with United States English and Brasilian Portuguese, so if you have problems with your language, contact me. Don't forget to encode your keywords.yaml in UTF-8. == Contact Emerson Macedo emerleite at gmail dot com http://codificando.com