Category Archives: Test-Driven Development

Effective Test Automation Presentation – Keep Austin Agile 2014

This weekend I gave a presentation at the Keep Austin Agile conference called “Effective Test Automation”. Effective Test Automation from Chris Edwards on Vimeo. Keynote file Slides as PDF Abstract It’s easy to write tests, but it’s not so easy to maintain them over time. Tests should not be a drain on your productivity, they […]

Also posted in Agile, Mocking, Presentations, Principles, Testing | Leave a comment

Video: Padawan to Jedi – A Developer Jump-Start (my presentation at Austin Code Camp 2011)

Here is the video of my “Padawan to Jedi – A Developer Jump-Start” presentation I gave last week at the Austin Code Camp 2011. It touches on all the principles, patterns, practices, and such that I have learned in my many years being a developer. I designed the Padawan2Jedi talk to present knowledge in a […]

Also posted in .NET, Agile, C#, Continuous Integration, Continuous Learning, Design, Humility, Leading, Mocking, Patterns, Presentations, Principles, Productivity, Simplicity, Soft Skills, Testing, Tools | Tagged , , , , , , , , , , , , , , , , | 1 Response

Testing NHibernate Mappings

Several posts have been made lately concerning testing NHibernate Mappings. I thought I would share what I have done for the past few months. I create a test fixture for each class mapped in NHibernate. The tests in the fixture test loading, updating, saving, and deleting through NHibernate. Initially, I only tested loading, but later […]

Also posted in Agile, Testing | Tagged , , | Leave a comment

Agility Depends on Good Design and Complete Test Coverage

I have a very different approach to TDD. On my project, we hold a group design session before we write any tests or code. In that design session, we determine the object structure and bombard our design with edge cases and such. We continue modifying it on the whiteboard till it satisfies all the requirements. […]

Also posted in Agile, Design, Testing | Tagged , , , | Leave a comment

Importance of Treating Unit Tests as First Class Code

On my previous project, we had a rather large set of unit tests. This collection of tests grew over time and we neglected to maintain them with the fervency in which we maintained our production code. This quickly came back to haunt us. Making sweeping changes to our codebase became painful because our tests were […]

Also posted in Agile, Principles, Testing | Tagged , , , | Leave a comment