Hi everybody.
I have been playing with cockpit for some time. Now I have a little library that
create processes in the backend, which keep running until I stop then, so I
start wondering about how to do integration testing with cockpit, ...
In cockpit I have these constraints:
- cockpit.js is served by cockpit-ws,
- A pam session is created when user login on web interface,
At the most what I have is some function calls that have side effects on
backend. My testing would be checking for these side effects on the backend,
like checking if some process started, or finished, or if some file was created,
or if a database table was populated.. Usually we would execute tests over
nodejs but I don't now how to deal with pam session ...
Cheers,
Daniel