Skip to content

Plugin Testing Guide #4687

@matthyk

Description

@matthyk

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the feature has not already been requested

🚀 Feature Proposal

Add a Plugin Testing Guide in Testing.md or Write-plugin.md.

Motivation

Currently, there is no section in either Testing.md or Write-Plugin.md that explains how to test a written plugin. For example, how to test the decorated FastifyRequest, FastifyInstance and FastifyReply. Since we should only include plugins in the ecosystem list containing sufficient tests, we should also provide a guide that explains how to test a plugin.

Example

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions