Skip to content

Commit 016eb80

Browse files
author
Ajay kumar
committed
[Blog] [Ajay]: Add intro to integration testing blog (WIP)
1 parent 1ec455a commit 016eb80

File tree

4 files changed

+28
-0
lines changed

4 files changed

+28
-0
lines changed

TestArena/Blog/BlogHome.razor

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,10 @@
2020
Date="@DateTime.Today.Date.ToLongDateString()" Category="Pact contract testing"
2121
BlogUrl="/blog/integration-with-pactflow" />
2222
</div>
23+
<div class="col">
24+
<Thumbnail ImageUrl="images/blog/integration-testing/intro/banner.png"
25+
Title="Integration testing for dotnet core APIs: Introduction" Author="Ajay kumar"
26+
Date="@DateTime.Today.Date.ToLongDateString()" Category="Integration testing"
27+
BlogUrl="/blog/integration-testing-in-dotnet-intro" />
28+
</div>
2329
</div>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
@page "/blog/integration-testing-in-dotnet-intro"
2+
@using TestArena.Blog.Common
3+
4+
<BlogContainer>
5+
<Header Title="Integration testing for dotnet core APIs: Introduction"
6+
Image="/images/blog/integration-testing/intro/banner.png" PublishedOn="@DateTime.Now" Authors="Ajay Kumar">
7+
</Header>
8+
<Section>
9+
<p>This is going to be multi-part series on integration tests from introduction to advanced used cases.</p>
10+
</Section>
11+
12+
<Section Heading="What are integration tests in context of APIs?">
13+
<p>In the context of <b>.NET Core APIs</b> for a blog, integration tests are automated tests that evaluate the functionality of various parts of your application working together as a whole. Specifically, these tests ensure that multiple components — such as controllers, database access, middleware, internal and external services — function correctly when integrated, as opposed to functioning correctly only in isolation (which would be covered by unit tests).</p>
14+
</Section>
15+
16+
<EndNotes RepositoryLink="https://github.com/ajaysskumar/pact-net-example"/>
17+
18+
</BlogContainer>

TestArena/TestArena.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,8 @@
4242
<None Include="wwwroot\images\contract_test_intro.webp" />
4343
</ItemGroup>
4444

45+
<ItemGroup>
46+
<Folder Include="Blog/IntegrationTesting/" />
47+
</ItemGroup>
48+
4549
</Project>
3.04 MB
Loading

0 commit comments

Comments
 (0)