From bc64936ac97b9b43eb41c2b6e88aee1e0e8f4e79 Mon Sep 17 00:00:00 2001 From: Steven Giesel Date: Thu, 19 May 2022 21:45:45 +0200 Subject: [PATCH 1/2] add: .net6 bUnit youtube video plus books and SO --- docs/site/docs/external-resources.md | 10 ++++++++++ docs/site/docs/getting-started/index.md | 5 +++++ 2 files changed, 15 insertions(+) diff --git a/docs/site/docs/external-resources.md b/docs/site/docs/external-resources.md index 4b6548d62..a4336f8a3 100644 --- a/docs/site/docs/external-resources.md +++ b/docs/site/docs/external-resources.md @@ -8,6 +8,9 @@ Here is a list of some web content that covers bUnit. If you produce something y ### Podcasts/Twitch/YouTube/Live coding +- **[What’s new in bUnit for .NET 6](https://www.youtube.com/watch?v=0l88RIyseqE)** + Content is based on 1.3.42 + - **[Test Driving the Blazing Pizza Workshop with bUnit (multiple videos)](https://youtube.com/playlist?list=PL2LoDmbC1g20uJjUwPGQxpQjdnmpMqV0t)** Content is based on 1.0.0 of bUnit. @@ -32,3 +35,10 @@ Here is a list of some web content that covers bUnit. If you produce something y - **[Unit Testing Blazor Components with bUnit and JustMock](https://www.telerik.com/blogs/unit-testing-blazor-components-bunit-justmock) by [Mihail Vladov](https://github.com/mihail-vladov)** Content is based on beta-6 of bUnit. + +### Books +- **[Microsoft Blazor: Building Web Applications in .NET 6 and Beyond](https://www.amazon.com/Microsoft-Blazor-Building-Applications-Beyond/dp/1484278445/ref=sr_1_1?crid=HHEK6NOM4ZLI&&keywords=Peter+Himschoot&&qid=1641337370&&s=books&&sprefix=peter+himschoot,stripbooks,79&&sr=1-1)** +- **[Blazor in Action](https://www.manning.com/books/blazor-in-action)** + +### Others +- **[bUnit on Stackoverflow](https://stackoverflow.com/questions/tagged/bunit)** diff --git a/docs/site/docs/getting-started/index.md b/docs/site/docs/getting-started/index.md index 1437a85f8..9c9403d28 100644 --- a/docs/site/docs/getting-started/index.md +++ b/docs/site/docs/getting-started/index.md @@ -18,6 +18,11 @@ The *next level* topics are: 2. **[Verifying output in various ways](xref:verification)** from a component under test, e.g. inspecting the rendered markup. 3. **[Mocking dependencies](xref:test-doubles)** a component under test has, e.g. the `IJsRuntime` or `HttpClient`. +## Quick start video +The following video is from NDC Oslo 2021 giving an introduction into bUnit: + +[![bUnit NDC Oslo 2021](https://img.youtube.com/vi/Co7QetPYiO4/0.jpg)](https://www.youtube.com/watch?v=Co7QetPYiO4) + ## Getting help Can't figure out how to write a test for a testing scenario? Do you have a testing scenario that is hard to write or cannot be written elegantly with bUnit? Have you found a bug in bUnit? Head over to [bUnit’s discussion forum](https://github.com/egil/bUnit/discussions) to ask a question, give feedback, or suggest a new feature. Alternatively, join [bUnits Gitter channel](https://gitter.im/egil/bunit) and let us know. There are no stupid questions - all are welcome! From 3a74574b8a152c2b14cd7537363c16226e00008a Mon Sep 17 00:00:00 2001 From: Steven Giesel Date: Fri, 20 May 2022 13:01:23 +0200 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Egil Hansen --- docs/site/docs/external-resources.md | 4 +++- docs/site/docs/getting-started/index.md | 7 ++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/site/docs/external-resources.md b/docs/site/docs/external-resources.md index a4336f8a3..8a98af28d 100644 --- a/docs/site/docs/external-resources.md +++ b/docs/site/docs/external-resources.md @@ -8,8 +8,10 @@ Here is a list of some web content that covers bUnit. If you produce something y ### Podcasts/Twitch/YouTube/Live coding +- **[Best practices unit testing Blazor components with bUnit](https://www.youtube.com/watch?v=Co7QetPYiO4)** + Content is based on 1.3.42 of bUnit. - **[What’s new in bUnit for .NET 6](https://www.youtube.com/watch?v=0l88RIyseqE)** - Content is based on 1.3.42 + Content is based on 1.3.42 of bUnit. - **[Test Driving the Blazing Pizza Workshop with bUnit (multiple videos)](https://youtube.com/playlist?list=PL2LoDmbC1g20uJjUwPGQxpQjdnmpMqV0t)** Content is based on 1.0.0 of bUnit. diff --git a/docs/site/docs/getting-started/index.md b/docs/site/docs/getting-started/index.md index 9c9403d28..27d7cfd9e 100644 --- a/docs/site/docs/getting-started/index.md +++ b/docs/site/docs/getting-started/index.md @@ -18,10 +18,11 @@ The *next level* topics are: 2. **[Verifying output in various ways](xref:verification)** from a component under test, e.g. inspecting the rendered markup. 3. **[Mocking dependencies](xref:test-doubles)** a component under test has, e.g. the `IJsRuntime` or `HttpClient`. -## Quick start video -The following video is from NDC Oslo 2021 giving an introduction into bUnit: +## Introduction video -[![bUnit NDC Oslo 2021](https://img.youtube.com/vi/Co7QetPYiO4/0.jpg)](https://www.youtube.com/watch?v=Co7QetPYiO4) +This video gives an introduction to bUnit, what it is, why its needed, and how to use it. It covers different testing strategies, and how to build maintainable test and maintainable components. + +[![Best practices unit testing Blazor components with bUnit - Egil Hansen - NDC Oslo 2021](https://img.youtube.com/vi/Co7QetPYiO4/0.jpg)](https://www.youtube.com/watch?v=Co7QetPYiO4) ## Getting help