Hera is a BDD framework for Pharo, based on Gherkin and inspired by Cucumber and Spinach.
To load it:
Metacello new
baseline: 'Hera';
repository: 'github://koendehondt/hera-for-pharo:main';
onConflict: [ :e | e useIncoming ];
onUpgrade: [ :e | e useIncoming ];
ignoreImage;
loadBeware: Hera is under continuous development, so it changes a lot.
Important: The current version is tested against Pharo 13. There is no guarantee that Hera works in the development version of Pharo 14.
You can open a feature browser from the Browse menu in the Pharo menu bar.
You can also do it by hand. Open a Feature Browser on your own acceptance tests (so without all the features used for testing Hera):
HeraApplication new openFeatureBrowserOpen a Feature Browser with all features in the image:
HeraApplication new openFeatureBrowserOnAllRead the introduction and the release of version 1.1.
Read the documentation.
If you would like to contribute, please fork the repo and submit a pull request.
Please run the unit tests before submitting a pull request. You can use Dr Test to run them all after filtering the package list on "Hera".
A pull request will be rejected without further comment if the unit tests are not green or the test coverage decreases.