Upgrade to Pro — share decks privately, control downloads, hide ads and more …

JBehave

KMKLabs
March 21, 2018

 JBehave

Slide ini menjelaskan secara singkat testing dengan pendekatan BDD (behavior driven development) dengan menggunakan framework Jbehave.

KMKLabs

March 21, 2018
Tweet

More Decks by KMKLabs

Other Decks in Programming

Transcript

  1. 4 N

  2. “ BDD is an evolution of test-driven development (TDD) and

    acceptance-test driven design, and is intended to make these practices more accessible and intuitive to newcomers and experts alike. It shifts the vocabulary from being test-based to behaviour-based, and positions itself as a design philosophy. 7 Resource: http://jbehave.org/reference/stable/index.html
  3. Key of BDD 8 •TDD approach •Executable documentation •Clears out

    misunderstanding between customers, domain experts, developers, QA team, etc Resource: http://www.qatestingtools.com/sites/default/files/testing-tool-presentations/jbehave_and_selenium.pdf
  4. JBehave Feature 10 Resource: http://www.qatestingtools.com/sites/default/files/testing-tool-presentations/jbehave_and_selenium.pdf 1. Pure Java Implementation 2.

    Text based User Stories 3. Annotation based binding of textual steps to Java method 4. Story reporting (HTML, TXT, XML) 5. IDE Integration
  5. Steps 12 1. Write Story 2. Map Steps To Java

    3. Configure Stories 4. Run Stories 5. View Reports Resource: http://www.qatestingtools.com/sites/default/files/testing-tool-presentations/jbehave_and_selenium.pdf