ray-project / kuberay

A toolkit to run Ray applications on Kubernetes
Apache License 2.0
1.01k stars 341 forks source link

[Refactor][envtest] Centralize all helpers in envtest for better DX #1977

Closed rueian closed 4 months ago

rueian commented 4 months ago

Why are these changes needed?

We often time want to run only a subset of tests while developing. Instead of using complicated Ginkgo filters or something not obvious modifications like FDescribe, we usually want to simply delete unwanted test files temporarily. But these test helpers scattered around the Ginko suite block us from doing this because we may delete helpers that are used in the remaining tests.

This PR moves these helpers to a centralized file so that we can quickly omit unwanted tests with the method mentioned above without deleting needed helpers.

Checks