Unit Tests- The First Class Citizens

Automated Testing

Benefits

Why write Automated Tests

Types of Tests

Unit Testing

Integration Testing

End To End Testing

Unit Tests features

What to test

What not to test

Arranging your tests

Example of C# Unit Test

Mocking

Why use Mock Objects

1) Improved test execution speed.

2) Support parallel development streams

3) Improves Test reliability

4) Reduce development/testing costs

TDD (Test Driven Development)

How TDD Works

Benefits of TDD

Code First Or Test First

Conclusion

References

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store