Author Archives: Patrick Lioi

About Patrick Lioi

I am a Senior Consultant at Headspring in Austin, TX. I created the Parsley text parsing library and the Fixie test framework.

Cleaning Up Test Failure Noise

The Fixie test framework has no built-in assertion library, since assertions are an orthogonal concern to the nuts and bolts of test discovery and test execution. Although I stand by the decision to avoid including a built-in assertion library, there … Continue reading 

Posted in Uncategorized | 1 Comment

Listening to Leaves

In Fixie XML Reports, I described a new Fixie feature that enables integration with build servers. When you need to output test results in the XML formats made popular by NUnit and xUnit, you can enable that extra output at … Continue reading 

Posted in Uncategorized | Leave a comment

Fixie XML Reports

With help from Pete Johanson and Jonas Samuelsson we’ve implemented NUnit-style and xUnit-style XML reporting for the Fixie test framework. Today we’ll cover what the feature is and how to use it. Next time, we’ll see why it was initially … Continue reading 

Posted in Uncategorized | Leave a comment

Nailing Down Generics

Calling Generic Methods You write a class containing a harmless generic method: Actually, for the purposes of this discussion, this is not one method declaration. Rather, it is an infinite number of method declarations: void GenericMethod<int>(int input) void GenericMethod<string>(string input) … Continue reading 

Posted in Uncategorized | 2 Comments

The Feature I Almost Skipped

Until recently, the Fixie test framework had no notion of skipped tests for two reasons. First, skipped tests are like support beams for technical debt. You know there’s a problem, and you’ve decided to either ignore it or delay solving … Continue reading 

Posted in Uncategorized | 1 Comment

Time, Black Holes, and Console Capture

In Listen Up!, we covered the implementation of Fixie/TeamCity integration, focusing on the main abstraction that feature introduced. Integrating with TeamCity forced me to improve the project in other ways, affecting more than just TeamCity: tracking the execution time of … Continue reading 

Posted in Uncategorized | 4 Comments

Listen Up!

I recently wrapped up TeamCity integration for the Fixie test framework. Today we’ll cover the feature itself. Next time, we’ll see how this feature drove a number of other improvements throughout the project. ##teamcity Messaging TeamCity captures all console output … Continue reading 

Posted in Uncategorized | 1 Comment

Fail Loudly

I ended my last post, Generating Test Cases at Runtime, with a pop quiz: “Can you spot the bug? It’s possible to write test methods that never get invoked.” Today, let’s cover the bug as well as its fix. Reproducing … Continue reading 

Posted in Uncategorized | 3 Comments

Generating Test Cases at Runtime

Last time, we saw how Fixie can integrate with AutoFixture. That was a situation in which parameterized tests were meant to be called once. They were parameterized because the producer of the inputs was interesting while the count was uninteresting. … Continue reading 

Posted in Uncategorized | Leave a comment

AutoFixie

Last week, we saw how the Fixie test framework deals with test method parameters. Your custom convention calls a Parameters(…) hook, supplying an explanation of where parameters should come from and how many times the test method should be called. … Continue reading 

Posted in Uncategorized | 3 Comments