gradle / gradle/guides

Testing plugin code with TestKit

Open
#47 9 comments 0 reactions 0 assignees View on GitHub
a:guide type:getting-started
Dominant language
Java
Stars
48
Forks
36
Avg merge
7h 37m
Merged PRs (30d)
8

Description

A follow up guide on [Getting Started Writing Gradle Plugins](https://github.com/gradle/guides/issues/9) with the focus on testing plugin code.

- Explains the reasoning and philosophy for wanting to test plugin code
- Make a brief distinction about the different types of tests
- How TestKit fits into the picture
- Uses TestKit for implementing and executing functional tests by continuing the example from the Getting Started Guide.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the linked “Getting Started Writing Gradle Plugins” guide and issue 9, then use the issue’s TestKit focus to define the follow-up. Done means a guide that explains testing rationale and test types, shows how TestKit fits, and continues the existing example with functional test implementation and execution.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.