I'm surprised at how many issues my new integration tests are finding.
-
I'm surprised at how many issues my new integration tests are finding.
I already had an integration testsuite, but the way the #fedbox application was run was not in full isolation, and I expect some of the setup steps I had included don't really exist on a fresh install.
We now build a fresh container image, start it up, provision it with mock data, and then run tests, but only through mechanisms that are available to a prospective server operator: CLI commands executed through SSH, and ActivityPub client to server operations.
-
? [[global:guest]] crossposted this topic to General Discussion
-
I'm surprised at how many issues my new integration tests are finding.
I already had an integration testsuite, but the way the #fedbox application was run was not in full isolation, and I expect some of the setup steps I had included don't really exist on a fresh install.
We now build a fresh container image, start it up, provision it with mock data, and then run tests, but only through mechanisms that are available to a prospective server operator: CLI commands executed through SSH, and ActivityPub client to server operations.
@mariusor What did you build
-
@mariusor What did you build
@xlv working on my old project FedBOX, which is a generic ActivityPub server created mostly as a reference implementation for the GoActivityPub library that I also develop.
This specific toot is about me working on an integration test suite using the testcontainers-go modules.
-
@xlv working on my old project FedBOX, which is a generic ActivityPub server created mostly as a reference implementation for the GoActivityPub library that I also develop.
This specific toot is about me working on an integration test suite using the testcontainers-go modules.
@mariusor Oh very cool

-
@xlv working on my old project FedBOX, which is a generic ActivityPub server created mostly as a reference implementation for the GoActivityPub library that I also develop.
This specific toot is about me working on an integration test suite using the testcontainers-go modules.
-
@maddyunderstars This is really pretty interesting
-
@maddyunderstars I gave up on mastodon, as it's not a first order target for my software, but I don't know if you could use the funfedidev containers setup as a blueprint.
-
@maddyunderstars I gave up on mastodon, as it's not a first order target for my software, but I don't know if you could use the funfedidev containers setup as a blueprint.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login