Hi all,
On Wednesday, I sent out a note that we have BDD tests on 'master'. What I meant is "browser based testing" for which I chose the BDD style: a user readable script declares the steps in a workflow and the test script verifies if the application conforms to that recipe.
The version I committed to the repository on Wednesday was fully dependent on the UI layout of the application and described the workflow steps in a very instrumentational manner ("if you press this button, you should see 'transaction posted'").
Between Wednesday and today, I converted the initial scripts which were rather lengthy and completely dependent on the looks of the UI, to a PageObject style, where both the scripts are shorter now *and* the scripts dependency on the page layout has been almost eliminated. The scripts are now written in a more abstract manner: if you log into setup application, you should see the (company creation|company admin) page [depending on whether the database already exists or not].
Here's some documentation regarding my inspiration of using BDD with PageObject style coding:
http://capgemini.github.io/bdd/effective-bdd/ Check
https://github.com/ledgersmb/LedgerSMB/blob/master/t/66-cucumber/01-basic/setup.feature#L1 to see what we currently have for testing of
setup.pl.