Board Infinity

MOQ

Taught in English

Course

Gain insight into a topic and learn the fundamentals

Board Infinity

Instructor: Board Infinity

Intermediate level

Recommended experience

3 hours to complete
3 weeks at 1 hour a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Understand the basics of MOQ and its role in .NET unit testing.

  • Learn to set up and implement basic mocks using MOQ.

  • Master advanced mocking techniques including complex object and dependency mocking.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

February 2024

Assessments

5 quizzes

See how employees at top companies are mastering in-demand skills

Placeholder
Placeholder

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV

Share it on social media and in your performance review

Placeholder

There are 2 modules in this course

"Module 1: Fundamentals of MOQ" introduces the concept of mocking in software testing using MOQ, a popular framework in the .NET ecosystem. It begins with an explanation of MOQ and its relevance, followed by a guide to setting it up in a .NET project. The module then covers creating your first mock, along with basic techniques such as mocking methods, properties, verification processes, and using callbacks and returns in mocks. This module is essential for .NET developers seeking to enhance their unit testing skills with MOQ.

What's included

10 videos4 readings2 quizzes1 discussion prompt

"Module 2: Deepening Your MOQ Skills" progresses into more advanced aspects of mocking with MOQ in .NET. This module tackles challenging scenarios like mocking complex objects and dependencies, setup sequences, and conditional mocking. It also addresses how to handle events and exceptions within MOQ. Furthermore, it guides you through best practices for organizing mocks, avoiding common pitfalls, and effectively integrating MOQ with testing frameworks like xUnit or NUnit. Tailored for developers looking to refine their unit testing and mocking techniques, this module offers in-depth knowledge and practical applications of MOQ.

What's included

8 videos3 readings3 quizzes

Instructor

Board Infinity
Board Infinity
59 Courses65,467 learners

Offered by

Board Infinity

Recommended if you're interested in Computer Security and Networks

Why people choose Coursera for their career

Felipe M.
Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

New to Computer Security and Networks? Start here.

Placeholder

Open new doors with Coursera Plus

Unlimited access to 7,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Frequently asked questions