Writing tests

for long-term efficiency

Why do you write tests?

Because PM asked

Client's request

You're farigh...

Common benefits

  • You can be lazy and carefree
  • You can pin-point the issue
  • Tests as Documentation
  • Code Quality

Tests as Documentation

Code Quality

                                      1             
Coupleness =                            
                          Cohesiveness

A Unit

Mock this

Is your code
highly coupled?

Go find out!

Reasons to write tests

By Ali Yousuf

Reasons to write tests

  • 310