3 concrete steps that will make your code unit testable

  This post explains three pragmatic techniques which will make your code more unit-testable. I will list them down first and then go on to explain them in more detail. Write logic in pure functions. Separate out algorithmic code from coordination oriented code. Understand your aggregate roots.   Write logic in pure functions A pure function has