We may earn an affiliate commission when you visit our partners.
Course image
Nate Taylor
Creating unit tests that are independent of external systems can be difficult and intimidating. In this course, Mocking Node.js with Sinon, you’ll learn to use the Sinon library for mocking external dependencies while testing your code. First, you’ll explore why mocking matters. Next, you’ll discover the differences between mocks, stubs, spies, and fakes. Finally, you’ll learn how to use a mock in your unit tests. When you’re finished with this course, you’ll have the skills and knowledge of using mocks needed to write unit tests isolated from external dependencies.
Enroll now

Good to know

Know what's good
, what to watch for
, and possible dealbreakers
Teaches the benefits of mocking dependencies, which is a standard practice for Node testing
Taught by Nate Taylor, who is highly regarded in the Node and testing communities
Provides hands-on examples of using Sinon.js to mock dependencies
Develops the understanding of testing isolated from external dependencies, which is a crucial skill for Node developers
Examines the need for mocking in testing
Explores the different types of mocks, such as stubs, spies, and fakes

Save this course

Save Mocking Node.js with Sinon to your list so you can find it easily later:
Save

Activities

Coming soon We're preparing activities for Mocking Node.js with Sinon. These are activities you can do either before, during, or after a course.

Career center

Learners who complete Mocking Node.js with Sinon will develop knowledge and skills that may be useful to these careers:
Software Quality Assurance (QA) Engineer
Software Quality Assurance Engineers write unit tests to test the logic of software applications. These unit tests involve the mocking of external dependencies, making a course on mocking with Sinon particularly helpful for someone who wishes to enter the field. Writing mocks is a primary skill of the QA Tester, and taking this course can help you towards success as one.
Software Developer
Software Developers are responsible for the maintenance and writing of code. Unit testing is a necessary skill for a person working as a Software Developer, and taking this course would help provide foundational knowledge in writing unit tests, especially ones that involve mocking external dependencies.
Test Automation Engineer
Test Automation Engineers write automated tests to make sure that software applications are free of defects. Writing unit tests for this involves mocking external dependencies, so a course in mocking with Sinon could be of good help to a Test Automation Engineer.

Reading list

We haven't picked any books for this reading list yet.
This is the third book in the Hunger Games trilogy and follows Katniss Everdeen as she becomes a symbol of rebellion against the Capitol.
This classic American novel follows a young girl who comes of age in the midst of racial injustice in the American South.
This classic American novel explores the themes of love, wealth, and the American Dream.
Save
This dystopian novel explores the dangers of totalitarianism and the importance of individual freedom.
This satirical novel explores the horrors of war and the importance of compassion.
This novel explores the power of words and the importance of hope.
This novel explores the trauma of sexual assault and the importance of speaking out.
This novel explores the aftermath of a police shooting and the importance of activism.
Practical guide to using Sinon.js for testing JavaScript applications. It covers a wide range of topics, from basic mocking to advanced techniques, and provides numerous code examples.
Practical guide to using Sinon.js for testing JavaScript applications. It covers a wide range of topics, from basic mocking to advanced techniques, and provides numerous code examples.
Practical guide to using Sinon.js for mocking JavaScript applications. It covers a wide range of topics, from basic mocking to advanced techniques, and provides numerous code examples.
Comprehensive guide to using Sinon.js for testing JavaScript applications. It covers a wide range of topics, from basic mocking to advanced techniques, and provides numerous code examples.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Similar courses are unavailable at this time. Please try again later.
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2024 OpenCourser