Practical shift-left on testing

What should be the SUT in tests when you do shift-left on testing?

The Startup pattern, larger units, fewer test doubles and a bit of BDD thinking.

If you have not yet read Andrew Lock’s post Should you unit-test API/MVC controllers in ASP.NET Core? then I suggest you read it without undue delay. …

Manage test fixtures for fast and reliable in-memory tests

Martin Fowler’s Object Mother Pattern Revisited

This will be clear once you have read this post.

A LeanTest driven test — more details will follow (non-blurred).

Brian Elgaard Bennett

I write about life, universe and software development. Before Medium, I used to post here:

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