I have a task and I don't know how to solve it.
We have a Python command line installer, and I should write a functional automated test in JBehave for it.
Does anybody have any idea how to approach this task?
Although you give limited info about what outcome you need to test and what is holding you back, I still think I can give some pointers.
JBehave is a Java based BDD framework. Use
Example BDD test scenario:
Copy the installer files some where local. Install Python and other dependencies
Start the installer (Expect) script with exec()
Use Expect to progress the installer
Verify it is installed and the exit code from the installer is correct
Start the application with Expect (if its command line) or start a GUI test of some kind to verify it starts.
More test scenarios: