Unofficial Test Suite (go-fed/testsuite)

Sneak peek: https://test.activitypub.dev/

Please feel free to file issues.

Caveats:

  • UI is ugly
  • The “C2S” option in the “new test” page does nothing. You’ll probably want to check the “S2S” one.
  • Once you begin the test, you’ll have to refresh the page manually to get updates. Once instructions show, testing is paused and awaiting your input
  • Did I mention the UI is ugly? I haven’t done but the bare minimum for the instructions, etc.
  • Known problem with the “done” button for the one test that has it.
  • Early on a test asks you to “Block” an actor, but later tests re-use that actor (oops)
  • One or two tests have a 5 second sleep. Hooray

To build and run it on your own:

$ go get github.com/go-fed/testsuite
$ go install github.com/go-fed/testsuite
$ ./$GOPATH/bin/testsuite -cert <your TLS pub key file> -key <your TLS private key file> -host $hostname

Not sure if it will work with self-signed certificates / localhost, as I didn’t consider testing locally. However, one of the test cases to port is “dont send HTTP requests to localhost” which will make this not a good way to test anyway.

2 Likes