Fork me on GitHub

cucumber

    Use pickle & ur choice factory for data setup in ur cucumber features (revised)

    28 Jul 2010

    Ng Tze Yang (ngty77@gmail.com)

    Data setup is sometimes painful in features writing for cucumber. Use pickle & factory of ur choice to make it less painful. Read More

    Tags 


    Use nested step to improve readability of ur scenario

    27 Jul 2010

    Ng Tze Yang (ngty77@gmail.com)

    When a scenario has too many steps, it becomes hard to read & follow. Using nested step helps to clean up the scenario, & helps promote reusability of groups of steps, think of it as code refactoring. Read More

    Tags 


    Use 'Background' to consolidate common steps in a feature

    27 Jul 2010

    Ng Tze Yang (ngty77@gmail.com)

    Very often, we tend to repeat a number of common steps in all scenarios within a feature, to dry things up, as well as improve readability (helping reader to better focus the intent of each scenario), we can use 'Background'. Read More

    Tags