{"repo":"fluffynuts/PeanutButter","free":true,"listed":false,"github":"https://github.com/fluffynuts/PeanutButter","clone":"git clone https://github.com/fluffynuts/PeanutButter.git","description":"Tasty, versatile, nutritious; goes with many things in .net.","language":"C#","stars":188,"topics":["duck-typing","utility","csharp","hacktoberfest","testing","mysql","sqlserver","sqlite"],"license":"BSD-3-Clause","category":"databases-storage","readme_excerpt":"PeanutButter ============ Download stats Go to documentation \"Some tastiness to add to your dev sandwich\" PeanutButter is a collection of projects which provide useful bits of functionality that I've often had to re-use (and also provides some concrete examples of usage). Sometimes I can even be bothered to write about it at http://davydm.blogspot.co.za/search/label/PeanutButter. Inside, you'll find, amongst other things: Duck-typing for .NET (PeanutButter.DuckTyping) - rigid or fuzzy duck-typing, including the ability to wrap a dictionary with a strongly-typed interface, even if the starting dictionary is empty. Randomisation utilities for testing with (PeanutButter.RandomGenerators) - Random Value Generators - Tests with random values are usually more useful because, if nothing else, after many runs, you've hit many test scenarios and often an edge case which would cause you production headaches pops out of the wood work. I prefer to test with random values wherever possible - In addition to the helpers in RandomValueGen which can be used to get randomised: - string values (arbitrary, alphabetic, or alphanumeric) - numeric values (decimal, long) - boolean values - datetime values there is also the GenericBuilder base which you can use as a very quick and easy way to create builders for complex types. These builders have the ability to generate randomised or directed objects. Test utilities: - PeanutButter.TestUtils.Generic which allows easy TestCase scenarios for property g","default_branch":null,"files":null,"tree":[],"storefront":"/r/fluffynuts","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fluffynuts/PeanutButter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}