Software Testing

Why bother testing your code

When a user encounters a bug they look like this: 🤬

Bugs grind work to a halt.

Bugs cause financial harm.

Every single time a bug is encountered, user trust erodes.

Bugs are bad.

And who gets blamed?

The developer.

still why we don't do itĀ 

ā€œTesting takes too much time and effort.ā€

Use a static type system and a linterĀ to capture basic errors like typos and syntax.

Write effective unit testsĀ that target the critical behavior and functionality of your application.

Develop integration testsĀ to audit your application holistically and make sure everything works together correctly in harmony.

Create end-to-end (e2e) functional testsĀ for automated click-testing of critical paths instead of relying on your users to do it for you.

Frameworks

Assertion Libraries

Web Driver

Selenium Wrapper

Additional librariesĀ 

Lets test the test cases we wrote to test our testing skills

LinksĀ 

Made with Slides.com