Integrating FediTest tests into your CI pipeline

https://feditest.org/quickstart/fediverse-developer/integrating-into-ci/

(Work in progress)

Outline:

  1. Create a Test Plan JSON file and test your App on your development system in the Constellations that you want to use in CI as well.

  2. In your pipeline, get feditest through PIP. Make sure you are running the right Python version.

  3. In your pipeline, clone the feditest-test-fediverse repo, and check out the right tag. Clone all other repos that might have tests you have defined yourself.

  4. In your pipeline, execute feditest run. It might make sense to produce a JSON test transcript (option --json <out>) rather than an HTML report. THe JSON test transcript is more detailed, easier processable, and can be converted into HTML any time with feditest convert-transcript.)