{"repo":"bmazzarol/Bunsen-Burner","free":true,"listed":false,"github":"https://github.com/bmazzarol/Bunsen-Burner","clone":"git clone https://github.com/bmazzarol/Bunsen-Burner.git","description":"Set :fire: to your old tests! A better way to write tests in C# :test_tube:","language":"C#","stars":19,"topics":["aaa","automation","bdd","integration-testing","testing","unit-testing","dotnet","nunit","xunit","dsl"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Bunsen Burner :running: Getting Started :books: Documentation Set :fire: to your old tests! A better way to write tests :test tube: in C#. Features Test framework-agnostic Zero dependencies Easy to use DSL More maintainable Easier to refactor Convert semantically equivalent tests from this, to this, Getting Started To use this library, simply include BunsenBurner.dll in your project or grab it from NuGet, and add this to the top of each test .cs file that needs it: or [!NOTE] Tests must always return a Task to be compatible with the DSL. Then use the DSL to refactor your tests. For more information, see the documentation. Why? Most tests in C# are written in an arrange, act, assert style. This is a good pattern, but it is only a convention. This library aims to formalize this structure in the following ways, Enforces that all tests must be arranged before acting and acted upon before assertions can occur. Making it a compile time error if you don't follow this pattern Scaffolding tests using a fluent API making them easier to read, write and refactor Encourages automatic refactoring of tests sections into helper methods, which is only possible if the test is structured using delegates Works with the developers IDE to provide a better experience when writing tests For more information have a look the documentation, or check out the test project or create an issue. Attributions Fire icons created by juicy fish","default_branch":null,"files":null,"tree":[],"storefront":"/r/bmazzarol","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bmazzarol/Bunsen-Burner/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."}