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

Meetup Paris TypeScript #12 - Behavior Driven D...

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.

Sylvain PONTOREAU

February 15, 2018
Tweet

More Decks by Sylvain PONTOREAU

Other Decks in Programming

Transcript

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

    TDD and BDD paranoiac! TypeScript fanboy!
  2. As a user In order to validate my cart I

    need to be authenticated ! if(this.user.isAuthenticated) { this.cart.validate(); }
  3. 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); });