From c0a234317b26bc79fcd6393b28c9a799aa517b9e Mon Sep 17 00:00:00 2001 From: AJ Meireles Date: Wed, 16 Aug 2023 14:16:18 -0300 Subject: [PATCH 1/3] introducing issue template --- .github/ISSUE_TEMPLATE/bug_report.yml | 59 +++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..ebabc02d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,59 @@ +name: Bug Report +description: Report an Issue or Bug with the Pest +title: "[Bug]: " +labels: ["bug"] +body: + - type: markdown + attributes: + value: | + We're sorry to hear you have a problem. Can you help us solve it by providing the following details. + - type: textarea + id: what-happened + attributes: + label: What Happened + description: What did you expect to happen? + validations: + required: true + - type: textarea + id: how-to-reproduce + attributes: + label: How to Reproduce + description: How did this occur, please add any config values used and provide a set of reliable steps if possible. + placeholder: When I use expect()->toBeTrue() in my tests, I get an error. + validations: + required: true + - type: input + id: pest-version + attributes: + label: Pest Version + description: What version of our Package are you running? Please be as specific as possible + placeholder: 2.14.1 + validations: + required: true + - type: input + id: php-version + attributes: + label: PHP Version + description: What version of PHP are you running? Please be as specific as possible + placeholder: 8.1.20 + validations: + required: true + - type: dropdown + id: operating-systems + attributes: + label: Operation System + description: On which operating systems does the problem occur? You can select more than one. + multiple: true + options: + - macOS + - Windows + - Linux + validations: + required: true + - type: textarea + id: notes + attributes: + label: Notes + description: Use this field to provide any other notes that you feel might be relevant to the issue. + validations: + required: false From 0263fcb2ac09f46be9cd05b0c6eba9d1e15d58c5 Mon Sep 17 00:00:00 2001 From: AJ Meireles Date: Wed, 16 Aug 2023 14:18:09 -0300 Subject: [PATCH 2/3] wip --- .github/ISSUE_TEMPLATE/bug_report.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index ebabc02d..ab584351 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -12,6 +12,7 @@ body: attributes: label: What Happened description: What did you expect to happen? + placeholder: When I use expect()->toBeTrue() in my tests, I get an error validations: required: true - type: textarea @@ -19,7 +20,7 @@ body: attributes: label: How to Reproduce description: How did this occur, please add any config values used and provide a set of reliable steps if possible. - placeholder: When I use expect()->toBeTrue() in my tests, I get an error. + placeholder: Install a fresh Laravel app, add Pest, add a test that uses expect()->toBeTrue() validations: required: true - type: input From f0223b50d039f8616b3c68feba335667c4e1d334 Mon Sep 17 00:00:00 2001 From: AJ Meireles Date: Wed, 16 Aug 2023 15:50:40 -0300 Subject: [PATCH 3/3] introducing sample repository input --- .github/ISSUE_TEMPLATE/bug_report.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index ab584351..ce3259e3 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -23,6 +23,12 @@ body: placeholder: Install a fresh Laravel app, add Pest, add a test that uses expect()->toBeTrue() validations: required: true + - type: input + id: repository-sample + attributes: + label: Sample Repository + description: If possible, please provide a sample repository that reproduces the issue. + placeholder: https://github.com.br/your-username/your-repository - type: input id: pest-version attributes: