{"repo":"hedhyw/gherkingen","free":true,"listed":false,"github":"https://github.com/hedhyw/gherkingen","clone":"git clone https://github.com/hedhyw/gherkingen.git","description":"Behaviour Driven Development tests generator for Golang","language":"Go","stars":98,"topics":["golang","go","test","bdd","bdd-framework","bdd-style-testing-framework","bdd-tests","bdd-style","behavior-driven-development","golang-library"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"gherkingen It's a Behaviour Driven Development (BDD) tests generator for Golang. It accepts a .feature Cucumber/Gherkin file and generates a test boilerplate. All that remains is to change the tests a little. The generator supports go generate and go test for generated tests. The generator is very customizable, it is possible to customize an output for any golang testing framework or even for another language. What is for? Simple example Given feature [reference]: Then this generator writes a golang output ( gerkingen readme.feature readme.feature test.go ): Example implementation: More advanced example See internal/app/app.feature and internal/app/app test.go. Version 3 changes 1. Simplified template is set by default. In order to use the default template from the previous versions, provide the following flag -template @/std.struct.v1.go.tmpl . 2. All tests will have t.Parallel by default. This behaviour can be disabled by providing the flag -disable-go-parallel . Version 4 changes 1. Removed template \"std.struct.v1.go.tmpl\". Install Package Latest DEB and RPM packages are available on the releases page. MacOS/Linux HomeBrew Standalone Binary Download latest archive .tar.gz for your target platform from the releases page and extract it to /usr/local/bin/gherkingen . Add this path to PATH environment. Example flow: Go Source Visual Studio Code extension The extension for VS-Code that helps to generate Behaviour Driven Development (BDD) boilerplate Golang tests. It uses docker","default_branch":null,"files":null,"tree":[],"storefront":"/r/hedhyw","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hedhyw/gherkingen/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."}