ginkgo
Gauge
Our great sponsors
ginkgo | Gauge | |
---|---|---|
13 | 6 | |
7,842 | 2,935 | |
- | 0.9% | |
8.8 | 8.9 | |
3 days ago | 7 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.
ginkgo
-
Writing tests for a Kubernetes Operator
Ginkgo: a testing framework based on the concept of "Behavior Driven Development" (BDD)
-
We moved our Cloud operations to a Kubernetes Operator
We were also able to leverage Ginkgo's parallel testing runtime to run our integration tests on multiple concurrent processes. This provided multiple benefits: we could run our entire integration test suite in under 10 minutes and also reuse the same suite to load test the operator in a production-like environment. Using these tests, we were able to identify hot spots in the code that needed further optimization and experimented with ways to save API calls to ease the load on our own Kubernetes API server while also staying under various AWS rate limits. It was only after running these tests over and over again that I felt confident enough to deploy the operator to our dev and prod clusters.
-
Recommendations for Learning Test-Driven Development (TDD) in Go?
A bit off-topic, but i really like the ginkgo BDD framework
-
ginkgo integration with jira/elasticsearch/webex/slack
If you are using Ginkgo for your e2e, this library might of help.
-
Testing frameworks, which to use?
https://onsi.github.io/ginkgo/ offers a simple way to create tables with different scenarios useful to generate different test cases based on a file like a yml without to need to develop useless code. Maybe at start seems to be a little verbose but depends how you design the test case.
If you like BDD and more expressive tests, go get ginkgo. It is a pain in the back get the hang of its R-spec like syntax, but if you're good at it and you like it, it is very expressive and readable. It has its own matcher (assertions library), gomega, but if you don't like it, you can still use testify instead.
-
Testza - A modern test framework with pretty output
What are people’s thoughts on testing frameworks? I’ve heard that most devs only use the testing package in the standard library and the testify package for assertions— I assume this is because Go is meant to be lightweight and scalable, and adding external dependencies basically goes against that. But I’ve also seen devs use packages like ginkgo to make tests more structured and readable. What do you guys think?
-
What are your favorite packages to use?
Ginkgo Behavioural test framework
-
Air – Live reload when developing with Go
If you write your tests with Ginkgo [0] its CLI can do this for you. It also has nice facilities to quickly disable a test or portion of a test by pretending an X to the test function name, or to focus a test (only run that test) by prepending an F. It’s pretty nice.
-
Half a million lines of Go at The Khan Academy
The BDD testing framework Ginko [1] has some "weird" / unidiomatic patterns, yet it is very popular
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.
-
9 Of The Best Java Testing Frameworks For 2021
Easily create your plugin using the open-source Gauge API.
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?
Testify - A toolkit with common assertions and mocks that plays nicely with the standard library
GoConvey - Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go.
godog - Cucumber for golang
goblin - Minimal and Beautiful Go testing framework
httpexpect - End-to-end HTTP and REST API testing for Go.
TestNG - TestNG testing framework
gocheck - Rich testing for the Go language
go-cmp - Package for comparing Go values in tests
gotests - Automatically generate Go test boilerplate from your source code.
frisby - API testing framework inspired by frisby-js