|
| 1 | +name: 🐞 Bug Report |
| 2 | +description: Create a report to help us improve |
| 3 | +labels: ["bug", "triage"] |
| 4 | +body: |
| 5 | + - type: markdown |
| 6 | + attributes: |
| 7 | + value: | |
| 8 | + We welcome bug reports! Please see our [contribution guidelines](https://github.com/fluentassertions/fluentassertions/blob/develop/CONTRIBUTING.md#writing-a-good-bug-report) for more information on writing a good bug report. |
| 9 | + |
| 10 | + **Before continuing, have you:** |
| 11 | +
|
| 12 | + * Tried upgrading to newest version of Fluent Assertions, to see if your issue has already been resolved and released? |
| 13 | + * Checked existing open *and* closed [issues](https://github.com/fluentassertions/fluentassertions/issues?utf8=%E2%9C%93&q=is%3Aissue), to see if the issue has already been reported? |
| 14 | + * Tried reproducing your problem in a new isolated project? |
| 15 | + * Read the [documentation](https://fluentassertions.com/introduction)? |
| 16 | + * Searched the two [test](https://github.com/fluentassertions/fluentassertions/tree/develop/Tests/FluentAssertions.Specs) [suites](https://github.com/fluentassertions/fluentassertions/tree/develop/Tests/FluentAssertions.Equivalency.Specs) if there is a test documenting the expected behavior? |
| 17 | + * Considered if this is a general question and not a bug? For general questions please use [Stack Overflow](https://stackoverflow.com/questions/tagged/fluent-assertions?mixed=1). |
| 18 | + - type: textarea |
| 19 | + id: background |
| 20 | + attributes: |
| 21 | + label: Description |
| 22 | + description: Please share a clear and concise description of the problem. |
| 23 | + placeholder: Description |
| 24 | + validations: |
| 25 | + required: true |
| 26 | + - type: textarea |
| 27 | + id: repro-steps |
| 28 | + attributes: |
| 29 | + label: Reproduction Steps |
| 30 | + description: | |
| 31 | + Please include minimal steps to reproduce the problem if possible. E.g.: the smallest possible code snippet; or a small project, with steps to run it. |
| 32 | + Always include text as text rather than screenshots so code can easily be copied and will show up in searches. |
| 33 | + Stack Overflow has a great article about [how to create a minimal, reproducible example](https://stackoverflow.com/help/minimal-reproducible-example). |
| 34 | + placeholder: Minimal Reproduction |
| 35 | + value: | |
| 36 | + ```csharp |
| 37 | + // Arrange |
| 38 | + string input = "MyString"; |
| 39 | +
|
| 40 | + // Act |
| 41 | + char result = input[0]; |
| 42 | +
|
| 43 | + // Assert |
| 44 | + result.Should().Be('M'); |
| 45 | + ``` |
| 46 | + validations: |
| 47 | + required: true |
| 48 | + - type: textarea |
| 49 | + id: expected-behavior |
| 50 | + attributes: |
| 51 | + label: Expected behavior |
| 52 | + description: | |
| 53 | + Provide a description of the expected behavior. |
| 54 | + placeholder: Expected behavior |
| 55 | + validations: |
| 56 | + required: true |
| 57 | + - type: textarea |
| 58 | + id: actual-behavior |
| 59 | + attributes: |
| 60 | + label: Actual behavior |
| 61 | + description: | |
| 62 | + Provide a description of the actual behavior observed. If applicable please include any error messages or exception stacktraces. |
| 63 | + placeholder: Actual behavior |
| 64 | + validations: |
| 65 | + required: true |
| 66 | + - type: textarea |
| 67 | + id: regression |
| 68 | + attributes: |
| 69 | + label: Regression? |
| 70 | + description: | |
| 71 | + Did this work in a previous release of Fluent Assertions? If you can try a previous release to find out, that can help us narrow down the problem. If you don't know, that's OK. |
| 72 | + placeholder: Regression? |
| 73 | + validations: |
| 74 | + required: false |
| 75 | + - type: textarea |
| 76 | + id: known-workarounds |
| 77 | + attributes: |
| 78 | + label: Known Workarounds |
| 79 | + description: | |
| 80 | + Please provide a description of any known workarounds. |
| 81 | + placeholder: Known Workarounds |
| 82 | + validations: |
| 83 | + required: false |
| 84 | + - type: textarea |
| 85 | + id: configuration |
| 86 | + attributes: |
| 87 | + label: Configuration |
| 88 | + description: | |
| 89 | + Please provide more information on your .NET configuration: |
| 90 | + * Which version of Fluent Assertions are you using? |
| 91 | + * Which .NET runtime and version are you targeting? E.g. .NET framework 4.6.1 or .NET Core 2.1. |
| 92 | + placeholder: Configuration |
| 93 | + validations: |
| 94 | + required: false |
| 95 | + - type: textarea |
| 96 | + id: other-info |
| 97 | + attributes: |
| 98 | + label: Other information |
| 99 | + description: | |
| 100 | + If you have an idea where the problem might lie, let us know that here. Please include any pointers to code, relevant changes, or related issues you know of. |
| 101 | + placeholder: Other information |
| 102 | + validations: |
| 103 | + required: false |
0 commit comments