Search Sreeni's Insights

Filter by content type
Tag

#testing

14 articles tagged with #testing

crafting September 25, 2018 8 min read

What is contract testing and why do we need it? - Part 1

What an API contract is, why we need contract testing, how it fits with unit, integration and end-to-end tests, and provider-driven versus consumer-driven approaches.

#contract-testing #api-testing #rest-api
Read
crafting August 2, 2018 12 min read

How to automate API tests with Postman Scripts? - Part 2

Automate API tests with Postman scripts: prepare test cases and data, write tests for real examples and run them with the Collection Runner.

#postman #api-testing #testing
Read
crafting July 19, 2018 6 min read

How to write Postman Scripts? - Part 1

The basics of Postman scripts: when pre-request and test scripts run, the execution order, the Postman Sandbox and how to write a first script.

#postman #api-testing #testing
Read
crafting February 6, 2018 4 min read

How to unit test Entity Framework Core?

Unit test code that uses Entity Framework Core with test doubles for DbContext and DbSet, so the tests stay fast and focused on the system under test.

#coding-practices #dotnet #entity-framework-core
Read
crafting June 13, 2017 4 min read

Postman Environments

Postman environments let us keep one request template for local, dev, qa and production by moving host names and API keys into environment variables, instead of duplicating collections.

#postman #api-testing #rest-api
Read
crafting May 2, 2017 7 min read

How to test ASP.NET Core Web API with in-memory TestServer?

This guide tests an ASP.NET Core Web API with an in-memory TestServer, covering host setup, HTTP requests, dependency boundaries and fast feedback without a deployed service.

#coding-practices #dotnet #software-quality
Read
crafting April 4, 2017 7 min read

Integration tests vs unit tests - where to draw the line

Unit and integration tests serve different boundaries, feedback loops and maintenance costs, with practical guidance for choosing test types and organising a .NET solution.

#coding-practices #dotnet #software-quality
Read
crafting February 23, 2016 7 min read

Test Driven Development (TDD) - is it worth it for our team

Test-Driven Development evaluated through its design benefits, upfront costs, defect feedback, suitable code areas and a gradual adoption approach for teams.

#tdd #test-driven-development #coding-practices
Read
crafting February 2, 2016 7 min read

What is a Test Double - stub vs mock vs fake

Test doubles explained through dummy, stub, spy, mock and fake objects, with practical examples showing when stubs, mocks and fakes are appropriate.

#test-doubles #mocking #unit-testing
Read
crafting January 12, 2016 7 min read

Unit Test Best Practices - FIRST properties

FIRST properties explained through fast, independent, repeatable, self-validating and timely unit tests, with practical guidance for keeping a test suite healthy.

#unit-testing #first #testing
Read
cloud November 10, 2015 7 min read

How to set up continuous integration with Visual Studio Online?

Continuous integration with Visual Studio Online explained through vNext builds, package restoration, compilation, tests, and publishing validated artifacts for reliable delivery.

#continuous-integration #visual-studio-online #cloud-how-to
Read
crafting May 12, 2015 6 min read

What is engineering practices and why do we need them?

Engineering practices explained as shared disciplines for building, testing, delivering, and operating software with consistent quality, faster feedback, and safer releases.

#engineering-practices #coding-practices #software-engineering
Read
crafting April 14, 2015 6 min read

Code review checklist for .NET teams

A practical .NET code review checklist covering design, readability, correctness, errors, security, performance, testing, operations, and constructive review comments and discussion.

#code-review #dotnet #coding-practices
Read
crafting March 31, 2015 7 min read

How to write unit tests with NUnit and Moq?

Unit testing with NUnit and Moq explained through FIRST properties, the AAA pattern, test doubles, test cases, exceptions, and verification of interactions.

#unit-testing #nunit #moq
Read

Browse Other Tags

#abstraction #aggregates #ai #ai-assisted-development #aks #algorithms #angular #angular-2 #angularjs #api #api-design #api-documentation #api-gateway #api-management #api-testing #api-versioning #apis #apm #app-service #application-insights #application-monitoring #architecture #architecture-decision-records #arm-templates #asp-net-mvc #aspnet #aspnet-core #aspnet-mvc #async-await #asynchronous #authentication #authorization #automation #azure #azure-app-service #azure-blob-storage #azure-cdn #azure-devops #azure-front-door #azure-functions #azure-key-vault #azure-monitor #azure-redis-cache #azure-resource-manager #azure-search #azure-service-bus #azure-sql #azure-web-app #azure-web-apps #backup #beginners #best-practices #binary #bounded-context #branching #branching-strategy #build-automation #burnout #business-case #caching #career #case-study #cdn #ci-cd #classification #clean-code #cloud #cloud-architecture #cloud-how-to #cloud-migration #cloud-native #cloud-readiness #cloud-security #cloud-solution-architecture #cloud-strategy #cloud-value #cloudflare #cloudflare-workers #code-quality #code-review #coding-practices #communication #compilers #composition #comprehension-debt #computational-thinking #computer-architecture #computer-basics #concurrency #configuration #container-service #containers #context-debt #continuous-integration #contract-testing #conventions #conway-law #cosmos-db #cqrs #csharp #data-access #data-architecture #data-representation #data-structures #datacenter-exit #ddd #defensive-coding #dependencies #dependency-injection #deployment #deployment-slots #design #design-patterns #design-principles #devops #dip #disaster-recovery #distributed-systems #distributed-transactions #dns #docker #docker-compose #documentation-debt #documentdb #domain-driven-design #domain-model #dotcover #dotnet #edge-computing #ef-core #encapsulation #engineering #engineering-practice #engineering-practices #enterprise-architecture #enterprise-integration #entity-framework #entity-framework-core #error-handling #event-driven #event-driven-architecture #event-grid #event-sourcing #events #eventual-consistency #exception-handling #failover #feature-toggles #feedback #finops #first #framework #frontend #frontend-architecture #future-state-architecture #fxcop #git #git-flow #github-flow #god-object #governance #growth #guard-clauses #guardrails #guidelines #hard-coding #helm #high-availability #hosting #http #iaas #idempotency #identity #information-hiding #infrastructure-as-code #inheritance #integration #ioc #isp #java #javascript #json-schema #jwt #key-vault #knowledge-management #kubernetes #language-generations #layered-architecture #leadership #least-privilege #lift-and-shift #linq #logging #logic-apps #lsp #magic-numbers #maintainability #maintainable-code #managed-service-identity #message-queues #messaging #metrics #microservices #migration #mocking #model-dependency-debt #modeling #monitoring #monolith #moq #multi-region #mvc-4 #n-tier #network-security-groups #networking #new-relic #nodejs #nosql #nuget #nunit #oauth #oauth-2 #object-modeling #object-oriented-thinking #object-relationships #observability #ocp #onion-architecture #oop #openid-connect #operating-systems #owin #paas #packages #pact #performance #pipelines #planning #polyglot-persistence #polymorphism #postman #powershell #problem-solving #process #productivity #programming-fundamentals #programming-languages #programming-paradigms #prompt-debt #prompt-engineering #pseudocode #pull-requests #react #real-world-modeling #real-world-problems #redis #refactoring #rehosting #release-management #repository-pattern #resharper #resilience #resiliency #rest #rest-api #rest-assured #retries #rpo #rto #saga #scalability #search #secrets #secure-coding #security #semantic-versioning #sentry #seq #serilog #serverless #service-bus #service-design #service-fabric #skill-debt #sla #software-architecture #software-basics #software-design #software-engineering #software-quality #solid #spa #sre #srp #ssl #static-analysis #storage #strangler-pattern #structured-logging #stylecop #substitutability #swagger #swashbuckle #system-design #tdd #tech-radar #technical-debt #technology-governance #terraform #test-doubles #test-driven-development #testing #thinking-like-a-programmer #traffic-manager #triggers #tutorial #twelve-factor #typescript #uml #understanding-computers-and-programming #unit-of-work #unit-testing #verification-debt #version-control #versioning #visual-studio #visual-studio-online #vsts #web-api #web-architecture #web-development #workflow