kuttl icon indicating copy to clipboard operation
kuttl copied to clipboard

[Bug] TestAssert cannot be used for tests with a TestStep file

Open davidLif opened this issue 2 years ago • 0 comments

What happened: If I declare a TestStep file, and specify an assert file containing a TestAssert object, the test searches for the object in the cluster.

What you expected to happen: I would expect the test step to execute in the excat same way like a test without TestStep file. For example - execute the command in the TestAssert.

How to reproduce it (as minimally and precisely as possible): create a TestStep referencing TestAssert

Anything else we need to know?:

Environment:

  • Kubernetes version (use kubectl version):
  • KUTTL version (use kubectl kuttl version):
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:

davidLif avatar Dec 17 '22 23:12 davidLif