Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration tests #14

Open
mortenlj opened this issue Oct 23, 2020 · 0 comments
Open

Integration tests #14

mortenlj opened this issue Oct 23, 2020 · 0 comments
Assignees

Comments

@mortenlj
Copy link
Owner

Some kind of integration test would be useful to make sure everything continues to work across modules when doing major work.

Idea:
Integration-test mode in all modules
Bots send a pre-defined series of commands, and check that they get sensible events from the server.
Server sends pre-defined set of events to viewer, and checks that the commands from bots are correct.
Viewer checks that it gets the defined events from the server.

Preferably this should work so that when the bot sends the commands it should send, that results in a given set of events that can be checked in the viewer. This might require that the server place the bots in predefined locations and override health. (ie. place two bots so that once they complete their commands one dies and the other has X health left).

@mortenlj mortenlj self-assigned this Oct 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant