ftest tests for the WebFinger protocol
Find a file
2023-09-06 19:53:32 +05:30
.reuse feat: add license information 2023-09-06 19:53:23 +05:30
LICENSES feat: add license information 2023-09-06 19:53:23 +05:30
.env_sample feat: test webfinger response for compulsory parameters and the endpoint for CORS 2023-09-06 19:42:37 +05:30
.gitignore feat: test webfinger response for compulsory parameters and the endpoint for CORS 2023-09-06 19:42:37 +05:30
README.md feat: init README 2023-09-06 19:53:32 +05:30
run.py feat: add license information 2023-09-06 19:53:23 +05:30

WebFinger tests for ForgeFlux/ftest

Environment Variables

Please see .env_sample

NAME Purpose Example
FTEST_AUTH Authorization token for uploading test results to ftest server a random-generated string that will be provided by ftest server
FTEST_TARGET_HOST The URL of the implementation's instance against which tests will be run http://localhost:3000, if Forgejo or any other WebFinger implementation is running on localhost at port 3000
FTEST_USER address of the actor against which WebFinger tests will be run john@localhost:3000. User john should exist on the instance

Usage

cp .env_sample .env # edit and populate .env with the right values
source .env
python run.py

TODO

  • Write code to upload to ftest server
  • Package Docker container
  • Upload to Docker Hub