godog
Gauge
godog | Gauge | |
---|---|---|
5 | 6 | |
2,193 | 2,944 | |
1.1% | 0.3% | |
6.8 | 8.9 | |
2 days ago | 4 days ago | |
Go | Go | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
godog
-
Godog integration test failing with weird error
It's complaining about a file missing in $GOPATH/pkg... but I'm not sure how do I get the packages its asking for. Things I have tried: - running go mod tidy - running go get -u github.com/cucumber/godog (hoping it would add the files to pkg/mod/... - Uninstalled and installed Go again.
-
What's your favourite part of unit testing?
I also use BDD (Gherkin with godog in particular) to verify and document the expected behaviour of a product from an end user's perspective when needed. I usually do this when the product also contains untested code that I have no control over when I'm working on a problem - this gives me peace of mind over something I can't control while doubling as documentation.
-
Behaviour Driven Development (BDD) boilerplate tests generator
It looks like it is not possible to share steps between scenario's or features. In https://github.com/cucumber/godog it is possible to share steps.
-
Behaviour Driven Development (BDD) boilerplate tests generator for Golang
Differences between gherkingen and godog are:
- BDD (Behavior-driven development) mit Go
Gauge
-
Python-Selenium-Action: Run Selenium with Python via Github Actions using Headless or Non-Headless browsers!
Selenium is cool but https://gauge.org/ really cuts down on the boilerplate and is a lot more lightweight, may want to give it a look too
-
Show HN: Xc – A Markdown Defined Task Runner
This actually reminds me a lot of Gauge from Thoughtworks: https://github.com/getgauge/gauge
It's typically paired with Taiko for test automation, but generally speaking it's a markdown to logical instruction engine.
I dig it, but also worth taking a look at what the Thoughtworks team has done especially around the VS Code tooling and language server work that they did to bring intellisense into their Markdown templates.
-
Java Developer, What do you do?
Since the project also uses Postgres, Redis, and AMQP, we also write integration tests. A docker compose file is there to stack up the test suite, and before each test, the tables, the keys, and the queues are reset. We don't try to aim to test for all the cases but usually all the controllers are covered. I personally would prefer to write more test cases between multiple micro services (e2e?) using something like Gauge but these integration tests are kind of enough.
-
A dilemma: What to do about integration testing for developers.
Gauge looks interesting, but reminds me heavily of BDD frameworks - it looks like it's an abstraction layer where instead of writing Gherkin/GWT, the tests are in their specific DSL that's Markdown based?
-
9 Of The Best Java Testing Frameworks For 2021
Gauge is a Behavior Driven Java testing framework launched by ThoughtWorks.Inc. This is also one of the best Java Testing Frameworks, which allows software engineers to develop automated frameworks and speed up the software development procedure.
What are some alternatives?
ginkgo - A Modern Testing Framework for Go
TestNG - TestNG testing framework
GoConvey - Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go.
Testify - A toolkit with common assertions and mocks that plays nicely with the standard library
frisby - API testing framework inspired by frisby-js
venom - 🐍 Manage and run your integration tests with efficiency - Venom run executors (script, HTTP Request, web, imap, etc... ) and assertions
assert - :exclamation:Basic Assertion Library used along side native go testing, with building blocks for custom assertions
gomega - Ginkgo's Preferred Matcher Library
go-vcr - Record and replay your HTTP interactions for fast, deterministic and accurate tests