No video

Coding Short: Is This Thing On? Testing APIs in .NET Core

  Рет қаралды 3,956

Shawn Wildermuth

Shawn Wildermuth

Күн бұрын

Пікірлер: 13
@AceSyntaxx
@AceSyntaxx Ай бұрын
Thanks Shawn for a succinct explanation of the basics.
@rustamhajiyev
@rustamhajiyev Жыл бұрын
Thanks for caring about us 😅 Great one as usual 👍😃 In our projects we usually use integration tests, in a similar way that you demonstrated. We also use LightBDD + pattern given/when/then and write tests in a story like way, so anyone can read and understand them.
@jamesgranberry8801
@jamesgranberry8801 11 ай бұрын
Shawn Wildermuth “cares about me?!” Awww. Lol!
@MyCodingDiary
@MyCodingDiary Жыл бұрын
Wow, this video is amazing!😲 Your programming skills are truly impressive.
@godfathermikal
@godfathermikal Жыл бұрын
I like that you used web app factory. This seems to be a fantastic tool to have in the bag. Would love to see more on how you use it for more than quick demo tests.
@alessandropinto1529
@alessandropinto1529 10 ай бұрын
Thank you Shawn, I was wondering how to set up Integration tests inside the solution (I generally use an external tool), and it was really illuminating for me
@catfishfortesque-smythe437
@catfishfortesque-smythe437 Жыл бұрын
I don't think that IClassFixture works in this way: from the xUnit Documentation, this creates a single object which is then shared with all test in a class - and it's the test class that has a new instance for each test, with the shared fixture being passed to it. I.E it is only created once, and so does not provide a clean object. To achieve that, you would need to use constructor / dispose in the test class to have a new object instance created. IClassFixture is intended to avoid expensive initialisations.
@JesseLiberty
@JesseLiberty Жыл бұрын
At 1:20 or so you refer to your new favorite toy for developing APIs. Can you say more about it (what the name is, what it does, why it is better than Postman)? Thanks! - jesse
@prasadgopi831
@prasadgopi831 Жыл бұрын
Informative and straight to the point. Will there be any session recordings of kcdc event 2023 available anywhere?
@swildermuth
@swildermuth Жыл бұрын
Unfortunately, it wasn't recorded.
@sanglin9387
@sanglin9387 Ай бұрын
my opinion no unit test junk , integeration test
@swildermuth
@swildermuth Ай бұрын
I don't actually agree, I think there is value in unit tests, but trying to unit test for code coverage is a waste of time. IMHO
@sanglin9387
@sanglin9387 Ай бұрын
@@swildermuth people will do by pass code just to make 100% not to test foreign key , output and input . Unit test maybe good before real implementation but once back end and front end good to go , integration test is the way to go . Most sample unit test a + b , most in real life got formula so on , so we need to make sure it work first in first out .
Coding Shorts: I Think We Can Do Better Than User Secrets
13:30
Shawn Wildermuth
Рет қаралды 3,9 М.
Coding Shorts: C# Dialects and Idioms
19:13
Shawn Wildermuth
Рет қаралды 3,2 М.
managed to catch #tiktok
00:16
Анастасия Тарасова
Рет қаралды 40 МЛН
黑天使遇到什么了?#short #angel #clown
00:34
Super Beauty team
Рет қаралды 44 МЛН
7 Days Stranded In A Cave
17:59
MrBeast
Рет қаралды 82 МЛН
Writing tests in .NET using xUnit -  xUnit Tutorial
25:50
Nick Chapsas
Рет қаралды 127 М.
Turns out REST APIs weren't the answer (and that's OK!)
10:38
Dylan Beattie
Рет қаралды 145 М.
What is OpenTelemetry?
12:55
Highlight
Рет қаралды 4 М.
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 147 М.
The Hidden Cost Of GraphQL And NodeJS
28:35
ThePrimeTime
Рет қаралды 189 М.
How To CORRECTLY Unit Test A .Net API Using Moq & AutoFixture
23:03
Israel Quiroz
Рет қаралды 16 М.
Coding Shorts #102: Using SQL Server Containers for Dev
11:00
Shawn Wildermuth
Рет қаралды 2,7 М.
Why We ALL Use xUnit over NUnit or MSTest?
17:51
Gui Ferreira
Рет қаралды 8 М.
Dependency Injection | Prime Reacts
28:34
ThePrimeTime
Рет қаралды 317 М.
managed to catch #tiktok
00:16
Анастасия Тарасова
Рет қаралды 40 МЛН