PrefectHQ / prefect-operator

A Kubernetes operator for managing Prefect servers and work pools
7 stars 0 forks source link

Investigate switching away from ginkgo/gomega #38

Open mitchnielsen opened 3 weeks ago

mitchnielsen commented 3 weeks ago

Summary

Context: https://github.com/PrefectHQ/prefect-operator/pull/34#discussion_r1722360958

although ginkgo/gomega are included in the scaffolding, it became a bit of a burden over time because it required learning a bespoke testing framework (which is quite complex, as you can tell from their docs). I think this is completely fine for now, but there are complexities here that eventually made us wish we had just used Golang's build in testing package, or at most stretchr/testify for simple assert statements. That would have felt much more Go-native, eliminated weird Ginkgo-specific failures, and made it easier for community members to contribute.

Let's try to get to this sooner than later as it'll only be harder to replace down the road.

Resources

Acceptance criteria

mitchnielsen commented 3 weeks ago

Adding Guidry's request:

I'd be down for that, although whichever tool we use should have some kind of watch tool like ginkgo watch or pytest -f