mausch / Fuchu

Functional test library for F# / C# / VB.NET
Apache License 2.0
120 stars 22 forks source link

Wrap FsCheck runner by only shadowing OnFinished #45

Closed neoeinstein closed 9 years ago

neoeinstein commented 9 years ago

The current Fuchu runner for FsCheck voids out any actions for OnStartFixture, OnArguments, and OnShrink while also providing the Fuchu implementation for OnFinished. For some tests, running testPropertyWithConfig Config.Verbose … can be useful for a quick verification that the property has been written correctly. Instead of voiding out the first three methods, this patch passes them through to the underlying runner. This allows the user to use the verbose configuration, or provide another alternate runner.

mausch commented 9 years ago

Merged, thanks!