Hey up, news from the Minutest coal-face - autofix...
# minutest
d
Hey up, news from the Minutest coal-face - autofixture is now available in 1.8.0-RC1. It’s been a lot harder than I thought, but on the plus side it has fixed some bugs in the current fixture code, and makes better error messages. Basically, if your fixture class has a no-arg constructor that Minutest can call, or is an object, then you need not specify a
fixture { .. }
block. If you don’t want this behavior for some reason (it is a bit odd that strings default to “” for example) then you can specify
autoFixture = false
in the context to switch it off. If you’re using Minutest with traditional mutable fixtures (@robfletcher) then please give it a try and let me know if it flies for you.