Integrating FediTest tests into your CI pipeline
https://feditest.org/quickstart/fediverse-developer/integrating-into-ci/
(Work in progress)
Outline:
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.
In your pipeline, get
feditest
through PIP. Make sure you are running the right Python version.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.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 withfeditest convert-transcript
.)