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

testing: Consider abstracting away e2e tests into seperate module #1

Open
jpmcb opened this issue Feb 15, 2025 · 0 comments
Open

testing: Consider abstracting away e2e tests into seperate module #1

jpmcb opened this issue Feb 15, 2025 · 0 comments

Comments

@jpmcb
Copy link
Contributor

jpmcb commented Feb 15, 2025

Using Go, multi module workspaces, the dependencies on ginkgo and gomega can be abstracted away:

test/
  | - e2e_test.go
  | - go.mod
  | - go.sum
go.work
go.work.sum
go.mod
go.sum
string.go

// etc. other first party code

where the test module would be "used" in the go workspace and have the actual dependencies on gomega and ginkgo. A good reference for where this has worked in the past: https://github.com/Thiht/transactor

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

1 participant