Introduction to Unit Testing

Unit tests and test-driven-development exist to help us manage expectations of our functionality.
3.4 (34 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
530 students enrolled
57% off
Take This Course
  • Lectures 11
  • Length 1.5 hours
  • Skill Level Expert Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

About This Course

Published 8/2014 English

Course Description

Testing and debugging are places where developers spend a lot of their time. Code doesn’t always perform as expected and, with complex applications, it’s very easy to break code with minor changes. Unit tests and test-driven-development exist to help us manage expectations of our functionality and to ensure that other developers working on our code are aware when a change they made affects already existing functionality. This is very important when working on large projects with many collaborators as well as small projects with few developers.

We’ll be pre-writing tests in code that we can run whenever we make updates to our application. This will ensure that no new logic breaks old logic, and that we are certain that our programs are executing properly when given different inputs.

Course Includes:

  • 11 videos with over 90 minutes of lectures and explanations.
  • 1 external resource file.
  • 4 exercises to help you master testing concepts.

What You'll Learn:

  • What is Unit Testing?
  • Test driven development
  • Using Assert
  • Jasmine testing framework
  • Additional Resources
  • Exercises
  • And More!

What are the requirements?

  • Introduction to HTML
  • Introduction to JavaScript Development
  • Intermediate JavaScript Development

What am I going to get from this course?

  • Course Goal: Learn the basis of unit testing and test driven development
  • Test Driven Development
  • Unit Testing with Jasmine

Who is the target audience?

  • Anyone who wants to become familiar with unit testing and test driven development concepts
  • Intermediate JavaScript Developers
  • Advanced JavaScript Developers

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.


Section 1: Introduction
Section 2: What is Unit Testing?
What is Unit Testing?
Test Driven Development
Section 3: Assert
Example Assert Function
Section 4: Jasmine testing framework
Introduction to Jasmine
Section 5: Additional Resources
Bonus Part 1: Describing Unit Testing To Students at RefactorU
Bonus Part 2: Describing Unit Testing To Students at RefactorU
Bonus Part 3: Describing Unit Testing To Students at RefactorU
Bonus Part 4: Describing Unit Testing To Students at RefactorU
Section 6: Excercises
1 page
Section 7: Conclusion
Course Conclusion

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

RefactorU LLC, Accelerates the learning of aspiring creative technologists.

Based in Boulder, Colorado, RefactorU accelerates the learning and development of the world's aspiring creatives, makers, and technologists. RefactorU empowers individuals to reinvent themselves to meet the needs of today's technology-driven economy while building lifelong professional networks for the future.

RefactorU offers on-campus and self-paced courses in full-stack web application development, data science, and other 21st century skills. RefactorU's Instructors Include:

Chris Rolfs

Chris is a game developer and designer with substantial experience in front and back-end web development as well as web and desktop game design and development. Chris is the current Instructor for RefactorU's online courses, and spends his daylight hours being a rockstar Front End Engineer at Facebook.

Ready to start learning?
Take This Course