kubeshop / testkube

☸️ Kubernetes-native testing framework for test execution and orchestration
https://testkube.io
Other
1.33k stars 130 forks source link

`testkube create` with flag `--crd-only` should create CRDs from folders #3125

Closed aabedraba closed 1 year ago

aabedraba commented 1 year ago

Current testkube generate test-crds works with Postman directories that have multiple tests.

This functionality might not be available for testkube create test --crds-only

Ideally we would want to only have testkube create test --crds-only and deprecate testkube generate test-crds once we have feature parity.

aabedraba commented 1 year ago

The user story:

The problem:

The constraint:

Possible solution:

TheBrunoLopes commented 1 year ago

cc: @fivenp

fivenp commented 1 year ago

We add all functionality of testkube create test to testkube generate

I do prefer this option quite a lot because it separates concerns and use cases clearly

If we'd go for Option 1 then we would always have mixed journeys. (e.g. I want to create a specific test vs. I want to create a test from a folder vs. I want to only have CRDs)