Skip to content

Commit e42b297

Browse files
authored
Update readme.md
1 parent 9284f1b commit e42b297

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/readme.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This library's goal is to make it easy to write _comprehensive, stable unit test
1010

1111
## Introduction
1212

13-
**To make tests easy to write**, the library provides a few different ways of define the **component under test** (CUT):
13+
**To make tests easy to write**, the library provides a few different ways of defining the **component under test** (CUT):
1414

1515
1. Render components from C# code via the `RenderComponent<TComponent>(params...)` method, that allow you to easily pass component parameters, cascading values, event callbacks to the component.
1616

@@ -22,7 +22,7 @@ This library's goal is to make it easy to write _comprehensive, stable unit test
2222

2323
1. Inspect components state/properties directly.
2424
2. Query the rendered HTML and assert against that directly. This is supported by [AngleSharp](https://anglesharp.github.io/)'s full implementation of the HTML5 DOM API.
25-
3. Perform a stable semantic comparison the rendered HTML from a component under test with expected HTML. This is supported by the [AngleSharp.Diffing](https://github.com/AngleSharp/AngleSharp.Diffing) library, which e.g. will ignore insignificant whitespace, attribute order on elements, order of classes in `class="..."` attributes, handle boolean attributes correctly, among other things.
25+
3. Perform a stable semantic comparison the rendered HTML from a component under test with an expected HTML string. This is supported by the [AngleSharp.Diffing](https://github.com/AngleSharp/AngleSharp.Diffing) library, which will ignore insignificant whitespace, attribute order on elements, order of classes in `class="..."` attributes, handle boolean attributes correctly, among other things.
2626

2727
## Getting started
2828

@@ -34,7 +34,7 @@ Follow these steps to set up a new test project:
3434

3535
3. Add the following package references to your testing library:
3636

37-
- `Razor.Components.Testing.Library` (make sure to get `1.0.0-beta-1` version)
37+
- `Razor.Components.Testing.Library` (make sure to get the `1.0.0` version)
3838
- `Microsoft.NET.Test.Sdk`
3939
- `xunit.core`
4040
- `xunit.assert` (can be replaced with `Shouldly` or another assertion library)
@@ -82,6 +82,6 @@ There are a few ways you can help improve this library.
8282

8383
2. Suggest tweaks to the library's API or assertion helpers (create issue).
8484

85-
3. Find a bug or mistake in the library, create an issue, or even better, send in a pull request.
85+
3. Found a bug or mistake in the library, create an issue, or even better, send in a pull request.
8686

87-
4. Help with documentation and/or good examples. If you figured out a elegant way to test a scenario, share it through an issue, or add it to the samples project (pull request), or add it to the documentation (pull request).
87+
4. Help with documentation and/or good examples. If you figured out an elegant way to test a scenario, share it through an issue, or add it to the samples project (pull request), or add it to the documentation (pull request).

0 commit comments

Comments
 (0)