kuttl icon indicating copy to clipboard operation
kuttl copied to clipboard

Integration without *testing.T

Open davidLif opened this issue 2 years ago • 0 comments

What would you like to be added: The ability to intigrate with kuttll without *testing.T.

Why is this needed: Right now, to use a kuttll Harness the developer is required to have an instance of testing.T struct. In many cases, such instance isn't avaliable. For example, tests writin using Ginkgo doesn't have such an object.

One possible solution is defining an interface instead of using the strcut directly - this will allow users to define their own implementation (https://onsi.github.io/ginkgo/#using-third-party-libraries).

I think this is a very cool project and would like to integrate it as a part of an existing e2e, but right now I would need to call a subprocess to use kuttl. I think that the dependency on *testing.T is a bit too specific

davidLif avatar Dec 14 '22 17:12 davidLif