Specification by Example

6c137ee3013821b517c4b9beed0145df?s=47 Fernando Perales
July 05, 2018
14

Specification by Example

6c137ee3013821b517c4b9beed0145df?s=128

Fernando Perales

July 05, 2018
Tweet

Transcript

  1. @FerPeralesM #TestingTalks Specification by example Fernando Perales

  2. @FerPeralesM #TestingTalks <me>

  3. @FerPeralesM #TestingTalks Senior Software Engineer @ michelada.io FLOSS Advocate I

    ❤ and 
 Host the RubyGDL community Co-founder @ Railsbridge México In Gregory Sallust I trust
  4. @FerPeralesM #TestingTalks

  5. @FerPeralesM #TestingTalks </me>

  6. @FerPeralesM #TestingTalks What is the purpose of software development?

  7. @FerPeralesM #TestingTalks R: Solve the right problem* What is the

    purpose of software development?
  8. @FerPeralesM #TestingTalks R: Solve the right problem* What is the

    purpose of software development? * IMHO
  9. @FerPeralesM #TestingTalks How to solve the right problem?

  10. @FerPeralesM #TestingTalks

  11. @FerPeralesM #TestingTalks What Specification by Example brings to the table?

  12. @FerPeralesM #TestingTalks A way to define requirements and business- oriented

    functional tests
  13. @FerPeralesM #TestingTalks A development methodology: A-TDD

  14. @FerPeralesM #TestingTalks A language to define our requirements: Gherkin

  15. @FerPeralesM #TestingTalks Example:

  16. @FerPeralesM #TestingTalks

  17. @FerPeralesM #TestingTalks I want a feature to know if a

    person is old enough to be considered a legal adult in Mexico
  18. @FerPeralesM #TestingTalks Translated into Gherkin

  19. @FerPeralesM #TestingTalks

  20. @FerPeralesM #TestingTalks

  21. @FerPeralesM #TestingTalks

  22. @FerPeralesM #TestingTalks There are tools that allow us to translate

    Gherkin into code
  23. @FerPeralesM #TestingTalks

  24. @FerPeralesM #TestingTalks gem install cucumber

  25. @FerPeralesM #TestingTalks cucumber —init

  26. @FerPeralesM #TestingTalks

  27. @FerPeralesM #TestingTalks

  28. @FerPeralesM #TestingTalks

  29. @FerPeralesM #TestingTalks

  30. @FerPeralesM #TestingTalks

  31. @FerPeralesM #TestingTalks

  32. @FerPeralesM #TestingTalks

  33. @FerPeralesM #TestingTalks

  34. @FerPeralesM #TestingTalks

  35. @FerPeralesM #TestingTalks

  36. @FerPeralesM #TestingTalks Thanks! hola@ferperales.net