I got one question and i couldn't find any answer yet.
I want to use CLI or filesystem module from Codeception, but the automated tests are in a different repo, running from a different machine, meaning that running a command like runShellCommand will not do anything.
In the documentation it doesn't write anything about opening a ssh connection in a CEST. So, I am asking you how did you created the ssh connection. Is there an embedded module for this?
I found edno/codeception-secureshell but i cannot use it due to php.net/ssh2 dependency.
I found http://phpseclib.sourceforge.net/ from FTP/SFTP documentation and https://robo.li/tasks/Remote/ which has SSH.
I want to know which method did you use, and how should i approach the problem.
The necessity is: I got a system where i want to write tests for it, but the system contains a lot of crons that do all the work. My need is to run this crons (which are PHP commands) manually and control them when to start and stop, in order to see the effect on the DB.
Any advice ?
Thanks for help,