Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Integration tests with fake ssh channel and console #43

Open
boxdot opened this issue Mar 1, 2018 · 1 comment
Open

Integration tests with fake ssh channel and console #43

boxdot opened this issue Mar 1, 2018 · 1 comment

Comments

@boxdot
Copy link
Owner

boxdot commented Mar 1, 2018

It is very tedious to test the bot against a running instance of Gerrit. It should rather simple to write a ssh server which will just replay a file on some commands. Gerrit can be simulated as output to stdout and input from stdin. An integration test is then a triple of files: one is replayed on stdin of the bot, one on the output of the ssh server, and the third one is used as expected output of the bot.

@fbenkstein
Copy link
Collaborator

Is this addressed by #81 in your opinion? There’s still a real Gerrit (in a container) but events are created automatically.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants