Testing

Use Tests As A Feedback Tool To Improve Code Members Public

Listen to tests and act on it to improve the code you are writing.

Rahul Pulikkot Nath
Rahul Pulikkot Nath
Testing

Tip of the Week: AutoFixture - Make Your Unit Tests Robust Members Public

AutoFixture is an open source library for .NET designed to minimize the 'Arrange' phase of your unit tests in order to maximize maintainability

Rahul Pulikkot Nath
Rahul Pulikkot Nath
TipOW

Populating Data for Tests Members Public

Different scenarios of test data generation.

Rahul Pulikkot Nath
Rahul Pulikkot Nath
Testing

Simulating delays in HTTP Calls For Manual Tests Members Public

This post shows how to simulate delays in HTTP calls using Fiddler.

Rahul Pulikkot Nath
Rahul Pulikkot Nath
Testing

Introduce Tests when Fixing Bugs Members Public

Refactoring to add tests when fixing bugs helps increase your confidence and grow your test coverage.

Rahul Pulikkot Nath
Rahul Pulikkot Nath
Refactoring

Refactoring to Improve Testability: Extracting Dependencies Members Public

In the earlier post, Removing Unnecessary Dependencies, we saw how having an unnecessary dependency hinders testability. In this post we will see just the opposite of that - extracting functionality out of a class and creating another class to separate responsibilities, making it easier to test and adhere to Single

Rahul Pulikkot Nath
Rahul Pulikkot Nath
Testing

Refactoring Test Code: Removing Constructor Dependency Members Public

In the earlier post, Removing Unnecessary Dependencies, we saw how having an unnecessary dependency hinders testability. In this post we will see how the test code changed by the refactoring we did for removing the unnecessary dependency and explore ways to control these changes. Impact on Tests by the Refactoring

Rahul Pulikkot Nath
Rahul Pulikkot Nath
Testing

Refactoring to Improve Testability: Removing Unnecessary Dependencies Members Public

Nowadays I am trying to stick to TDD (with the test first approach) and have found it to be of great help. One of the biggest reward doing TDD is that it helps me to stay in the flow and regain speed faster after a distraction. This post explains how

Rahul Pulikkot Nath
Rahul Pulikkot Nath
Testing