Well, with the exception of PeanutButter.TestUtils.Generic, which is where interesting test helper code went to lurk and generally be useful. This was where the first incarnation of TempDb was born. It was either Sqlite or SqlCe, I don't remember, but whichever it was, the other was soon to follow, in the same package. So if you wanted a temporary SqlCe database, you ended up getting all of the Sqlite dependencies smooshed into your project. Boo!
I recognised this as sub-optimal, but left it just so, partly because I'm a lazy bugger and partly because I was afraid of fallout for anyone who might upgrade packages and find stuff to be no longer working as it had been moved out into another package.
Not too long ago, I got the itch to add LocalDb support and, of course, it ended up in the same assembly. I was getting less stoked, but remained at the same level of lazy.
Finally, tonight, I got my ass in gear and split these out. So there are 4 new packages:
- PeanutButter.TempDb
- PeanutButter.TempDb.Sqlite
- PeanutButter.TempDb.SqlCe
- PeanutButter.TempDb.LocalDb
Anyway, as always, they're totally free. So if they break, you can keep all the pieces.
No comments:
Post a Comment