Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unnecessary Ginkgo dependency in go mod #816

Open
unmarshall opened this issue Jan 7, 2025 · 1 comment
Open

Unnecessary Ginkgo dependency in go mod #816

unmarshall opened this issue Jan 7, 2025 · 1 comment

Comments

@unmarshall
Copy link

unmarshall commented Jan 7, 2025

Gomega can be used with or without Ginkgo. Using BDD styled testing frameworks is a personal choice and i for one find it quite difficult to read test cases that are written in Ginkgo. I just prefer using standard golang native test framework along with a minimalist assertion library.

I was hoping to use gomega as it works also with go native tests but unfortunately i do not wish to pull in ginkgo as a dependency which i am forced to do as soon as i include gomega. I was really hoping that you would consider making the core assertion library as a separate go module which will be independent of ginkgo and then provide extensions for easy consumption in ginkgo.

@onsi
Copy link
Owner

onsi commented Jan 9, 2025

hey there - i’ve honestly tried real hard to make sure gomega doesn’t have a direct dependency on ginkgo and… as far as I know. it doesn’t! just a test dependency which i would have expected to come up as an indirect dependency. i’m honestly unsure why go mod thinks ginkgo is a required direct dependency. it really shouldn’t be (and really isn’t!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants