Skip to content

Instantly share code, notes, and snippets.

@asunar
Last active September 21, 2015 17:17
Show Gist options
  • Save asunar/292091b8a3d63bcd6440 to your computer and use it in GitHub Desktop.
Save asunar/292091b8a3d63bcd6440 to your computer and use it in GitHub Desktop.
How to respect yourself and your application with End to End Testing
Learn to write fast and reliable automated browser tests
You may have heard of the testing pyramid. The conventional wisdom suggests 70% unit tests, 20% integration tests and 10% end-to-end tests.
End-to-end tests are slow, unreliable and brittle. With unit tests, each part may work individually, but how can we know if they fit together?
Let's explore real-world implementations of end-to-end testing and build a test suite that is fast AND reliable.
We will go over some examples using nightwatchjs and use
duct tape and rubber bands if we have to, favoring momentum over perfection.
You will be inspired to resolve your thorny automation issues and move on to bigger more interesting problems.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment