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

Add experimental integration test packages #49

Closed
wants to merge 5 commits into from
Closed

Conversation

SamWhited
Copy link
Member

@SamWhited SamWhited commented Apr 28, 2020

This adds three packages, internal/integration, internal/integration/prosody, and internal/integration/ejabberd that can be used to spin up servers with a specific configuration and easily run tests against them. It is likely not yet ready for merge, but I wanted to push up what work I had done to remind me to get back to it one of these weekends and because someone was asking about a related testing issue.

Fixes #42

@SamWhited SamWhited force-pushed the integration branch 2 times, most recently from 173c8d9 to 736a33a Compare April 28, 2020 22:08
The internal/integration package is designed to make it easy to spin up
and configure servers for integration tests.
It is not meant to be used directly, instead it is meant to aid in
writing other packages that spin up specific servers and tools.

Fixes #42

Signed-off-by: Sam Whited <sam@samwhited.com>
The prosody package lets you configure and spin up an instance of the
Prosody XMPP server (https://prosody.im/) for use in integration tests.

Signed-off-by: Sam Whited <sam@samwhited.com>
The ejabberd package lets you configure and spin up an instance of the
Ejabberd XMPP server (https://www.ejabberd.im/) for use in integration
tests.

Signed-off-by: Sam Whited <sam@samwhited.com>
Signed-off-by: Sam Whited <sam@samwhited.com>
Update the integration testing proposal to mention that the new API is
not covered by the compatibility promise since it's in the internal/
tree.

Signed-off-by: Sam Whited <sam@samwhited.com>
@SamWhited
Copy link
Member Author

Closing this since development is being moved to SourceHut (GitHub PRs will still be accepted, however). When I get back to it, I'll post this as a patch set to the mellium-devel mailing list.

@SamWhited SamWhited closed this May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant