Skip to content

Instantly share code, notes, and snippets.

@dherges
Last active August 8, 2017 07:29
Show Gist options
  • Select an option

  • Save dherges/0e2330e9d043a8316961c0709d2e1222 to your computer and use it in GitHub Desktop.

Select an option

Save dherges/0e2330e9d043a8316961c0709d2e1222 to your computer and use it in GitHub Desktop.
WITHDRAWN - Unfortunately, I cannot attend! This was a Proposal for a lightning talk at ReactiveConf 2017
Feature: ReactiveConf Lightning Talks are awesome
As a visitor of https://reactiveconf.com/
I want to learn about Cucumber and Protractor
So that I can test my awesome applications like my users do
Scenario: Curiosity is killing me
Given this proposal for #ReactiveConf 2017 open call for Lightning talks
When you star this summary on GitHub
Then you can go and listen to the talk
But you can also retweet: https://twitter.com/davidh_23/status/889051659711774720
Scenario: TypeScript developer comes across
Given I am a TypeScript developer
And I have a little bit of testing affinity
When I am automating a browser
Then it's really cool to have static type checking
And auto-completion in my favourite IDE
Scenario Outline: Testing all your favourite apps
Given I am addicted to <framework>
And I am a permissive, liberal person
When me and my team write end-to-end tests
Then a web page opens at <url>
Examples:
| framework | url |
| Angular | https://angular.io |
| React | https://facebook.github.io/react/ |
| Vue | http://vuejs.org/ |
Scenario: Becoming an assertion pro
Given the following code styles for assertions exist:
| name | style | implemented_by |
| expect | BDD | chai, jasmine, expect.js |
| should | BDD | chai, should.js |
| assert | TDD | chai, console.assert() |
When I need to pick one
Then I am free to chose whatever I like
But I think chai's expect() API is a really good fit!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment