feat(test): Expand unit test coverage across core packages using Ginkgo + Gomega #1786
Unanswered
tarone-saloni
asked this question in
Ideas
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
While adding unit tests, I was thinking about using Ginkgo and Gomega for writing tests.
They provide a more structured BDD-style approach (
Describe,Context,It) which can make tests easier to read and maintain as the test suite grows. Gomega also provides cleaner and more expressive assertions compared to manual checks with the standardtestingpackage.Example:
Standard Go test
With Gomega
Docs:
All reactions