I'm using LCC to test a CLI program that has quite a lot of options.
I'm wondering if i'm doing it right (i'm kinda python noob), and if LCC could maybe add an API entry to encapsulate it better.
return_code = subprocess.run(["./cli-app", "arg1", "arg2", ....], capture_output=True)
lcc.log_info("Got STDOUT: %s" % return_code.stdout)
lcc.log_info("Got STDERR: %s" % return_code.stderr)
lcc.check_that("Help return code", return_code.returncode, equal_to(0))
Other than that, LCC really fit my needs on other topics, API calls and GitLab integration (JUnit reporting). Great work!
++
Alex