Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
Forum Discussion
Former Member
4 years ago[25] Testing ?
I was wondering how you would recommend testing our scripts that make use of the CLI ?
There is for instance the --dry-run option, but do you use other means on your side ?
For instance, wou...
Former Member
4 years agoAh, I see you meant for programatic testing.
I am not at all familiar with the Python testing paradigms, but in the languages that I am familiar with (Go, Java, C++) I would encapsulate all the op
interactions into a module/class/package, and replace it with a mock.