Skip to content

Commit c506d9c

Browse files
committed
Merge branch 'master' into dev
2 parents e741bba + 3548480 commit c506d9c

7 files changed

Lines changed: 28 additions & 10 deletions

File tree

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ assignees: ''
77

88
---
99

10-
**NOTE:** _Remove any parts of the template you do not need and replace the default text in each section with your own._
10+
**NOTE:** _Remove any parts of the template you do not need and replace the default text in each section with your own, including this._
1111

1212
**Describe the bug or question**
13-
A clear and concise description of what the bug or question is.
13+
_A clear and concise description of what the bug or question is._
1414

1515
**Example:**
1616
Testing this component:

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ assignees: ''
77

88
---
99

10-
**NOTE:** _Remove any parts of the template you do not need and replace the default text in each section with your own._
10+
**NOTE:** _Remove any parts of the template you do not need and replace the default text in each section with your own, including this._
1111

1212
**Is your feature request related to a problem? Please describe.**
1313
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Question / how to test this?
3+
about: Use this template when you want help or input on a testing scenario
4+
title: ''
5+
labels: question
6+
assignees: ''
7+
8+
---
9+
10+
**NOTE:** _Remove any parts of the template you do not need and replace the default text in each section with your own, including this._
11+
12+
**Description of testing scenario:**
13+
- _A clear and concise description of the testing scenario you want help with._
14+
- _Please include the component under test (or relevant parts), and be as specific as possible, that makes it much easier to give a good answer._
15+
16+
**Additional context:**
17+
_Add any other context about the problem here, e.g. version of Blazor or bUnit._

docs/docs/creating-a-new-test-project.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,6 @@ A neat trick, which will limit the `import` statements needed in your test proje
7171
</PropertyGroup>
7272
```
7373

74-
### Make copy/past of HTML easier
74+
### Make copy/paste of HTML easier
7575

7676
When writing C# based tests, you sometime want to copy/paste some HTML into C# strings from e.g. a Razor file. This is tedious to do manually as you have to escape the quotes and other special characters. The extension, [SmartPaster2019](https://marketplace.visualstudio.com/items?itemName=martinw.SmartPaster2013), allows us to copy strings where any character that needs to be escaped will be automatically.

docs/docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Introductions
22

3-
Before you start writing your first test, it is highly recommended that you go read the [Getting started](/docs/Getting-started.html) page, which will explain the difference between testing normal classes and Blazor/Razor components.
3+
Before you start writing your first test, it is highly recommended that you go read the [Getting started](/docs/getting-started.html) page, which will explain the difference between testing normal classes and Blazor/Razor components.

docs/docs/mocking-jsruntime.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
This page is on the todo list.
44

5-
To see examples of how to mock the JsRuntime, go to the [C# test examples](/docs/CSharp-test-examples.html#testing-components-that-use-on-ijsruntime) page.
5+
To see examples of how to mock the JsRuntime, go to the [C# test examples](/docs/csharp-test-examples.html#testing-components-that-use-on-ijsruntime) page.

docs/index.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/egil/bunit/CI?logo=github&style=flat-square)](https://github.com/egil/bunit/actions?query=workflow%3ACI)
1+
[![GitHub stars](https://img.shields.io/github/stars/egil/bunit?style=flat-square)](https://github.com/egil/bunit)
22
[![GitHub tag (latest SemVer pre-release)](https://img.shields.io/github/v/tag/egil/bunit?include_prereleases&logo=github&style=flat-square)](https://github.com/egil/bunit/releases)
33
[![Nuget](https://img.shields.io/nuget/dt/bunit?logo=nuget&style=flat-square)](https://www.nuget.org/packages/bunit/)
4-
[![Issues Open](https://img.shields.io/github/issues/egil/bunit.svg?style=flat-square&logo=github)](https://github.com/egil/bunit/issues)
54
[![Gitter](https://img.shields.io/gitter/room/egil/bunit?logo=gitter&style=flat-square)](https://gitter.im/egil/bunit?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
5+
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/egil/bunit/CI?logo=github&style=flat-square)](https://github.com/egil/bunit/actions?query=workflow%3ACI)
6+
[![Issues Open](https://img.shields.io/github/issues/egil/bunit.svg?style=flat-square&logo=github)](https://github.com/egil/bunit/issues)
67

78
# bUnit - a testing library for Blazor Components
89

910
**bUnit**, previously known as **Blazor Components Testing Library**, is a unit testing library for Blazor Components. You can easily define components under test in C# or Razor syntax, and verify outcome using semantic HTML diffing/comparison logic. You can interact with and inspect components, trigger event handlers, provide cascading values, inject services, mock IJsRuntime, and perform snapshot testing.
1011

1112
This library's goal is to make it easy to write _comprehensive, stable unit tests_ for Blazor Components/Razor Components. To see how, go to the [Documentation pages](/docs).
1213

14+
To browse the source code and provide feedback, head to https://github.com/egil/bunit/.
15+
1316
### Contributors
1417

1518
Shout outs and a big thank you to the contributors to this library. Here they are, in alphabetically:
1619

1720
- [Michael J Conrad (@Siphonophora)](https://github.com/Siphonophora)
1821
- [Rastislav Novotný (@duracellko)](https://github.com/duracellko)
19-
20-
Version: #{VERSION}#

0 commit comments

Comments
 (0)