Chinmay C Dey

Chinmay C Dey
: Chinmay C Dey
:  
: Melbourne, Australia
: 31 May 2018 11:35 PM
: 04 December 2018 06:11
:
Technology Enthusiast, .net Full Stack Developer, Blogger, Foodie and Self-Styled Conservationist
1 Article

Test driven development (TDD) through Mocking using Moq framework

I am going to demonstrate the use of a very popular mocking framework, Moq, to mock database calls. The example in the article is an Order Processing class, mimicking the order processing system. For the sake of simplicity, I am focusing on fetching an order from database (by order Id), adding 10% GST on the amount and then saving it back to database. public class OrderProcessing ...   On 28 Nov 2018  Viewed: 81