Run the WebFinger server tests with your application running anywhere (including localhost)

https://feditest.org/quickstart/fediverse-developer/webfinger-server/

Quickstart for your own application

Your application can run anywhere, as long as FediTest running on your development machine can perform HTTP GET requests on it. For example, your application can be installed on your development machine if you simply have an alias example.com to 127.0.0.1 in your /etc/hosts; no need to put it on a real server. You can pick any DNS name you like as long as you also use it below.

To do this, simply follow Getting a taste of FediTest and answer the questions in a way that makes sense for your own App.

Avoiding the terminal prompts

This is described in a HOWTO: How can I avoid interactive terminal input when running tests?

Simplifying the command-line

If you want to simplify the feditest run command-line because you keep running the same tests, use one or more of the following:

feditest create-constellation:
Defines a Constellation as a map of Node role names to Node definitions.
feditest create-session-template:
Creates a JSON file that enumerates the tests in the sequence they will run.
feditest create-testplan:
Collects all the other information on the feditest run command-line into a Test Plan that can be run with feditest run --testplan <testplan.json>.

Drilling down on one failing test

This is described in a HOWTO: How can I drill down on one specific test that's failing and not run the others?