Welcome to our new series on “Integrating testing into your development flow”. To begin this series we are going to start by looking at “How to write testable code”.

In essence, this new series will be covering all the ways we can Integrating testing into our development flow. Such as, how to write tests, define and implement a test plan & test strategy, unit tests, reports, tools, and frameworks. To summarize, a complete and comprehensive guide to testing and improving the testability of our code.

During this presentation, we are going to be focussing on how to look at testing software from a developer’s point of view in order to write better testable code. Thus, we have to start by getting out of our comfort zone as developers and put on our testing hats. So that we can understand what might be missing from the development flow. In particular, things that can help testers at the end of the development lifecycle. For example, things like unit tests, element descriptors (like unique “ids”), and better documentation.

Topics covered in How to Write Testable Code

  1. Understanding your test environment
    • Frameworks
    • Tools
    • Testing Options
  2. Integrating testing into your development flow
    • Write testable code responsibly and in moderation.
    • Test behavior, not the implementation.
    • Idiot-check your first pass.
    • Prevent breaks in other parts of the codebase.

This series comes from our mentoring/mastermind classes.  These classes are virtual meetings that focus on how to improve our technical skills and build our businesses.  The goals of each member vary.  However, this diversity makes for great discussions and a ton of educational value every time we meet.  We hope you enjoy viewing this series as much as we enjoy creating it.  As always, this may not be all new to you, but we hope it helps you be a better developer.

Testing Tools to consider:

Other Classes, You Might Consider:

Leave a Reply