0 Comments

Unit testing your Javascript with jasmine

Unit Testing your JavaScript with Jasmine

Learn how to unit test your JavaScript using the jasmine framework, from your first test to continuous integration.

Jasmine is a behavior-driven development framework for testing JavaScript code. It does not depend on any other JavaScript frameworks. It does not require a Document Object Model (DOM), and it has a clean, obvious syntax so that you can easily write tests. If you want to stand out as a JavaScript developer, you need to learn how to unit test your code. Jasmine is a great way to do so.

Best Seller CourseThe Complete JavaScript Course 2020: From Zero to Expert!

What you’ll learn

  • Write clean suites, specs and expectations.
  • Isolate dependencies on units through test doubles (spies).
  • Automate test runs through continuous integration from version control using a headless browser and a test runner.
  • Set up jasmine as their unit testing framework from scratch.
  • Configure setup and teardown for suites.
  • Understand how matchers work in Jasmine.
  • Write custom matchers and include them in your project.
  • Consume third party matchers.
  • Test asynchronous code.
  • Run unit tests both from a web browser and from a terminal through a test runner.
  • Generate code coverage reports.
  • Improve dependency management through a package manager.

You May Also Need This CourseTesting Angular 4 (previously Angular 2) Apps with Jasmine

JavaScript screenshot
success 50%

Udemy Upcoming Sale in September 2023

New customer offer! Top courses from $14.99 when you first visit Udemy

Udemy's thousands of highly-rated courses across all subject matters for as low as $14.99





New customer offer! Top courses from $14.99 when you first visit Udemy