Great work! This is the first testing package that I would support being incorporated into Base.Test at some point. I will definitely be using this for unit tests in the future.
On Monday, 20 January 2014 14:19:46 UTC-6, Andrew Burrows wrote: > > Announcing a new package for testing in Julia: > > https://github.com/burrowsa/Fixtures.jl > > Having only got into Julia towards the end of last year (after hearing > Stefan talk at codemesh) I was surprised at how basic the support for unit > testing was so I've tried to fill that hole a bit. The package provides a > simple framework for fixtures that can be overlayed on top of however you > currently do your testing. Some predefined fixtures for managing files are > provided as well as a patch fixture. Simple mocks are provided as well as > wildcards for matching mock calls. I mostly do python as my day job so the > inspiration for the patching and mocks is taken mostly from unittest.mock > in python 3 and the fixtures stuff is loosely based on a variety of test > frameworks I've used over the years but as I'm currently using py.test > day-to-day that probably had more influence than others. > > I'm still learning Julia so I'm sure there are plenty of improvements I > could make to the package, any feedback/issues/pull requests are welcome. > > Cheers > Andy >
