Save 37% off PRO during our Black Friday Sale! »

Meetup Paris TypeScript #12 - Behavior Driven Development

Meetup Paris TypeScript #12 - Behavior Driven Development

If you think that "Behavior" = a button click, this speech can be usefull for you. During this meetup, we will talk about BDD principles with a Node.js example.

9298dcce5b2b0e88d8ffbb837192ca98?s=128

Sylvain Pontoreau

February 15, 2018
Tweet

Transcript

  1. None
  2. Software Craftsman at Coach at Premier Field Engineer at Trainer

    TDD and BDD paranoiac! TypeScript fanboy!
  3. None
  4. None
  5. None
  6. None
  7. None
  8. None
  9. As a user In order to validate my cart I

    need to be authenticated ! if(this.user.isAuthenticated) { this.cart.validate(); }
  10. None
  11. Scenario Given And When "TypeScript" And Then And "TypeScript"

  12. None
  13. Scenario Given And "Ok Google" When "Search for TypeScript on

    the web" Then And "TypeScript"
  14. Scenario When "TypeScript" Then "TypeScript"

  15. None
  16. None
  17. None
  18. None
  19. None
  20. When "TypeScript" import { When } from 'cucumber'; When('I search

    for {string} on Google', function(value: string) { const googleSearch = new GoogleSearch(); this.actual = googleSearch.getResults(value); });
  21. None
  22. https://github.com/JulienPavon/TypeScriptBDDWithoutCucumber https://github.com/spontoreau/calculator-typescript-cucumber https://github.com/spontoreau/express-typescript-cucumber

  23. None
  24. None