History of JBehave Test Suite - muymoo/openmrs-core GitHub Wiki
Based on the commit history of the openmrs-core source code, findings and notes will be placed here to build a picture of when and how it started and how it evolved:
-
April 15, 2011: Removal of an accidental commit on that same day that contained stories and steps Shows that work on the test suite had begun this early.
-
November 22, 2011: First commit of JBehave test suite Contained 24 stories and supporting steps. Title of commit 'Merging the webapp-testing branch to trunk' indicates work for the BDD test suite was on-going in a side branch until it reached (assumed) reasonable size.
-
November 30, 2011: Fixing of ainstallation_wizard.story; removed ignore tag on java class; changed wording in steps in story. Commit Title: Improving release test coverage and fixing the incompatibility between tests and the latest OpenMRS trunk
-
December 26, 2011: Moved a common When step to base Steps.java class (When I click on the ______ link); Added 2 new tests (edit_a_concept.story, create_a_provider.story) and modified 4 stories.
-
December 26, 2011: Commit title: Fixed all release tests. All of them can be now executed using
mvn integration-test -P integration-test -DskipTests -Dmysql_username=username -Dmysql_password=password
Removed commented out code; fixed steps by fixing element names; changed wording of steps; Removed ignore tag on 17 stories, several of them had no story (.story) definition (9 new ones written). -
January 19, 2012: Story merging: Looks like have two instances where 2 stories were merged into one, with 1 story removed completely (view_encounters_on_dashboard.story).
-
June 27, 2012: More story merging (5 merged tests resulted); changed comma-delimited GivenStories line to just one story (assumed encapsulated the previous Given story).
-
July 4, 2012: Commit Title: increase story time limit and delete a duplicate test
-
July 5, 2012: Added waitAndAssertFor method and updated usages; deleted EditAConcept.java; increased timeout in waitAndAssertFor
-
July 6, 2012: Fixed several step definitions to add sleeps and more explicit code to get things done (use of web driver directly); cleaned up unneeded steps; deleted create_a_provider.story/,.java
-
July 9, 2012: Removed several step definitions (Given, When, Then) from steps because more generic steps can be used
-
Few commits for adding jbehave reporting and changing the format of the reports
-
July 16, 2012: Added Scenario descriptions to the stories; several other very small commits made on the same day for small changes like using the waitAndAssertFor method
-
July 17, 2012: Deleted a duplicate story
-
July 19, 2012: Added waitFor code to step definition in UpdatePersonAttributesSteps.java
-
August 18, 2013: A different user (NilsEckelt) changed the attribute lookup from id to class in VerifyPatientDashboardSteps.java probably due to an html change
Additional Notes:
- Looks like one user (bwolfe) did the first few initial commits, then only one other user (kishoreyekkanti) continued and maintained the JBehave test suite, until one last commit by a third user (NilsEckelt) to fix a step definition before the test suite was never touched again
- Suite was only worked on consistently for ~9 months and then abandoned