Much of writing testable code boils down to this: Keep logic and I/O separate
Much of writing testable code boils down to this:
Keep logic and I/O separate. Then you can test logic in isolation without mocking.
#tdd
Much of writing testable code boils down to this:
Keep logic and I/O separate. Then you can test logic in isolation without mocking.
#tdd