Learning Backbone.js Testing

Course

Online

£ 10 + VAT

Description

  • Type

    Course

  • Methodology

    Online

  • Start date

    Different dates available

An interactive guide to perform automated testing on BackboneJs applications with the help of a real-world example.The dynamic nature and flexibility of JavaScript and BackboneJs includes many ways of expressing ideas. Such liberty gives way to certain risks that aren't as prominent in strongly typed languages and highly opinionated libraries and frameworks. Learning how to mitigate these risks is a crucial step to writing smarter software, and smarter software makes for happy developers!Learning BackboneJs Testing will bootstrap you into a world of JavaScript testing and provide you with fundamental experience in writing tests. By understanding and becoming comfortable in testing BackboneJs applications, you can increase your productivity, code quality, and design skills.At the beginning, we'll discuss different testing philosophies and go over some testing basics. After establishing a motivation for and philosophy of testing, we're going to dive right into how we express our tests in Jasmine's BDD syntax. We'll also hone in on how to deal with the DOM and AJAX in our tests.Once you learn some syntax and apply it to plain JavaScript and BackboneJs code, we're going to run into the problem of manual testing practices. We'll discuss and incorporate a tool that will automate our tests and make testing considerably more streamlined using Karma. From there, you'll learn to apply testing techniques and tools such as fixtures and spies. This course will jump-start your automated testing experience and you'll be writing robust tests for everyday objects!About The Author
.
Jonathan Freeman is a jazz saxophone player and home cook, and loves to solve problems with code. He wrote his first production application 12 years ago and has been working with BackboneJs in production for the past 3 years. From writing articles for InfoWorld to presenting at conferences and user groups, he loves to teach and jumps at the opportunity to facilitate and observe learning

Facilities

Location

Start date

Online

Start date

Different dates availableEnrolment now open

About this course

Understand the philosophy behind test-driven and behavior-driven development
Acquire a handful of tools and helpers to facilitate testing JavaScript applications
Overcome the obstacle of testing code that relies on AJAX by using sinon.js
Eliminate tedious manual testing habits in favor of streamlined automated workflows by using Karma
Develop a solid approach to behavior-driven development with Jasmine that will help you write better tests
Build and use fixtures to facilitate predictable data instantiation and reuse
Customize and extend the testing framework to bring the tools closer to your problem set

Questions & Answers

Add your question

Our advisors and other users will be able to reply to you

Who would you like to address this question to?

Fill in your details to get a reply

We will only publish your name and question

Emagister S.L. (data controller) will process your data to carry out promotional activities (via email and/or phone), publish reviews, or manage incidents. You can learn about your rights and manage your preferences in the privacy policy.

Reviews

This centre's achievements

2021

All courses are up to date

The average rating is higher than 3.7

More than 50 reviews in the last 12 months

This centre has featured on Emagister for 6 years

Subjects

  • Production
  • Writing
  • Syntax
  • Javascript
  • Testing
  • Javascript training
  • Benefits
  • Investment

Course programme

Getting Started with Testing 4 lectures 14:04 The Course Overview The viewer may not know what’s in store for them in this course yet. We’ll tell you what the scope of the course is, what the goals are, and how we’ll go about it.
  • Introduction to the scope of the course
  • Understand the process of how we’ll be working through the material
  • Go through the sample app we’ll be building along the way
Testing and Why It’s Used Testing adds overhead and time to a development process. We want to explain the benefits of testing and describe unit testing and functional testing.
  • Learn how the benefits of testing offset the investment needed to start and maintain the testing process
  • Understand and demonstrate unit testing
  • Demonstrate functional testing
Understanding TDD versus BDD Describe the nuances between TDD and BDD. Prevent confusion of these very similar concepts.
  • Introduce and define TDD and BDD
  • Check examples of both "to compare" and "to contrast"
  • Understand why we’re using BDD
Investigating Our Toolshed Many tools help in automated testing and it’s hard to decide where to start. We’ll narrow down the list and describe the necessary programs.
  • Catalog our selection of automated testing tools
  • Describe each tool from our toolshed
Getting Started with Testing 4 lectures 14:04 The Course Overview The viewer may not know what’s in store for them in this course yet. We’ll tell you what the scope of the course is, what the goals are, and how we’ll go about it.
  • Introduction to the scope of the course
  • Understand the process of how we’ll be working through the material
  • Go through the sample app we’ll be building along the way
Testing and Why It’s Used Testing adds overhead and time to a development process. We want to explain the benefits of testing and describe unit testing and functional testing.
  • Learn how the benefits of testing offset the investment needed to start and maintain the testing process
  • Understand and demonstrate unit testing
  • Demonstrate functional testing
Understanding TDD versus BDD Describe the nuances between TDD and BDD. Prevent confusion of these very similar concepts.
  • Introduce and define TDD and BDD
  • Check examples of both "to compare" and "to contrast"
  • Understand why we’re using BDD
Investigating Our Toolshed Many tools help in automated testing and it’s hard to decide where to start. We’ll narrow down the list and describe the necessary programs.
  • Catalog our selection of automated testing tools
  • Describe each tool from our toolshed
The Course Overview The viewer may not know what’s in store for them in this course yet. We’ll tell you what the scope of the course is, what the goals are, and how we’ll go about it.
  • Introduction to the scope of the course
  • Understand the process of how we’ll be working through the material
  • Go through the sample app we’ll be building along the way
The Course Overview The viewer may not know what’s in store for them in this course yet. We’ll tell you what the scope of the course is, what the goals are, and how we’ll go about it.
  • Introduction to the scope of the course
  • Understand the process of how we’ll be working through the material
  • Go through the sample app we’ll be building along the way
The Course Overview The viewer may not know what’s in store for them in this course yet. We’ll tell you what the scope of the course is, what the goals are, and how we’ll go about it.
  • Introduction to the scope of the course
  • Understand the process of how we’ll be working through the material
  • Go through the sample app we’ll be building along the way
The Course Overview The viewer may not know what’s in store for them in this course yet. We’ll tell you what the scope of the course is, what the goals are, and how we’ll go about it.
  • Introduction to the scope of the course
  • Understand the process of how we’ll be working through the material
  • Go through the sample app we’ll be building along the way
The viewer may not know what’s in store for them in this course yet. We’ll tell you what the scope of the course is, what the goals are, and how we’ll go about it.
  • Introduction to the scope of the course
  • Understand the process of how we’ll be working through the material
  • Go through the sample app we’ll be building along the way
The viewer may not know what’s in store for them in this course yet. We’ll tell you what the scope of the course is, what the goals are, and how we’ll go about it.
  • Introduction to the scope of the course
  • Understand the process of how we’ll be working through the material
  • Go through the sample app we’ll be building along the way
Testing and Why It’s Used Testing adds overhead and time to a development process. We want to explain the benefits of testing and describe unit testing and functional testing.
  • Learn how the benefits of testing offset the investment needed to start and maintain the testing process
  • Understand and demonstrate unit testing
  • Demonstrate functional testing
Testing and Why It’s Used Testing adds overhead and time to a development process. We want to explain the benefits of testing and describe unit testing and functional testing.
  • Learn how the benefits of testing offset the investment needed to start and maintain the testing process
  • Understand and demonstrate unit testing
  • Demonstrate functional testing
Testing and Why It’s Used Testing adds overhead and time to a development process. We want to explain the benefits of testing and describe unit testing and functional testing.
  • Learn how the benefits of testing offset the investment needed to start and maintain the testing process
  • Understand and demonstrate unit testing
  • Demonstrate functional testing
Testing and Why It’s Used Testing adds overhead and time to a development process. We want to explain the benefits of testing and describe unit testing and functional testing.
  • Learn how the benefits of testing offset the investment needed to start and maintain the testing process
  • Understand and demonstrate unit testing
  • Demonstrate functional testing
Testing adds overhead and time to a development process. We want to explain the benefits of testing and describe unit testing and functional testing.
  • Learn how the benefits of testing offset the investment needed to start and maintain the testing process
  • Understand and demonstrate unit testing
  • Demonstrate functional testing
Testing adds overhead and time to a development process. We want to explain the benefits of testing and describe unit testing and functional testing.
  • Learn how the benefits of testing offset the investment needed to start and maintain the testing process
  • Understand and demonstrate unit testing
  • Demonstrate functional testing
Understanding TDD versus BDD Describe the nuances between TDD and BDD. Prevent confusion of these very similar concepts.
  • Introduce and define TDD and BDD
  • Check examples of both "to compare" and "to contrast"
  • Understand why we’re using BDD
Understanding TDD versus BDD Describe the nuances between TDD and BDD. Prevent confusion of these very similar concepts.
  • Introduce and define TDD and BDD
  • Check examples of both "to compare" and "to contrast"
  • Understand why we’re using BDD
Understanding TDD versus BDD Describe the nuances between TDD and BDD. Prevent confusion of these very similar concepts.
  • Introduce and define TDD and BDD
  • Check examples of both "to compare" and "to contrast"
  • Understand why we’re using BDD
Understanding TDD versus BDD Describe the nuances between TDD and BDD. Prevent confusion of these very similar concepts.
  • Introduce and define TDD and BDD
  • Check examples of both "to compare" and "to contrast"
  • Understand why we’re using BDD
Describe the nuances between TDD and BDD. Prevent confusion of these very similar concepts.
  • Introduce and define TDD and BDD
  • Check examples of both "to compare" and "to contrast"
  • Understand why we’re using BDD
Describe the nuances between TDD and BDD. Prevent confusion of these very similar concepts.
  • Introduce and define TDD and BDD
  • Check examples of both "to compare" and "to contrast"
  • Understand why we’re using BDD
Investigating Our Toolshed Many tools help in automated testing and it’s hard to decide where to start. We’ll narrow down the list and describe the necessary programs.
  • Catalog our selection of automated testing tools
  • Describe each tool from our toolshed
Investigating Our Toolshed Many tools help in automated testing and it’s hard to decide where to start. We’ll narrow down the list and describe the necessary programs.
  • Catalog our selection of automated testing tools
  • Describe each tool from our toolshed
Investigating Our Toolshed Many tools help in automated testing and it’s hard to decide where to start. We’ll narrow down the list and describe the necessary programs.
  • Catalog our selection of automated testing tools
  • Describe each tool from our toolshed
Investigating Our Toolshed Many tools help in automated testing and it’s hard to decide where to start. We’ll narrow down the list and describe the necessary programs.
  • Catalog our selection of automated testing tools
  • Describe each tool from our toolshed
Many tools help in automated testing and it’s hard to decide where to start. We’ll narrow down the list and describe the necessary programs.
  • Catalog our selection of automated testing tools
  • Describe each tool from our toolshed
Many tools help in automated testing and it’s hard to decide where to start. We’ll narrow down the list and describe the necessary programs.
  • Catalog our selection of automated testing tools
  • Describe each tool from our toolshed
Understanding Jasmine 5 lectures 14:23 Introducing Jasmine You may not have experience with Jasmine, and may not even have it on your computer. We’ll download the library and go through an overview of the directory structure.
  • Discuss in depth what Jasmine is
  • Download Jasmine on your machine
  • Understand the directory structure
Making Our Way Through the Syntax Jasmine provides a set of global functions, which we’ll introduce and discuss here.
  • Discuss the 'describe' and 'it' functions
  • Understand the anatomy of a test
  • Introduce matchers
Writing a Simple Test Viewers will get their hands dirty by writing a test using Jasmine style syntax.
  • Write a test for ‘getNthElement’
  • Write an implementation of 'getNthElement'
  • Explore the test interface and write another test
Hands-on Challenge – Adding to Our getNthElement Function We want to add a new feature to our function. The viewer is going to add it on their own in this challenge.
  • Understand the new feature to add to getNthElement
  • Write the tests and the implementation to pass the tests
Using Backbone.js in Jasmine Tests Our tests so far have been vanilla JavaScript, but the rest of the course will be focused on Backbone tests. We’ll integrate the library here.
  • Explain the process of using Backbone.js in our tests
  • Write a test for the presence of Backbone.js and its dependencies
  • Add Backbone.js and its dependencies to our runner.html file
Understanding Jasmine. 5 lectures 14:23 Introducing Jasmine You may not have experience with Jasmine, and may not even have it on your computer. We’ll download the library and go through an overview of the directory structure.
  • Discuss in depth what Jasmine is
  • Download Jasmine on your machine
  • Understand the directory structure
Making Our Way Through the Syntax Jasmine provides a set of global functions, which we’ll introduce and discuss here.
  • Discuss the 'describe' and 'it' functions
  • Understand the anatomy of a test
  • Introduce matchers
Writing a Simple Test Viewers will get their hands dirty by writing a test using Jasmine style syntax.
  • Write a test for ‘getNthElement’
  • Write an implementation of 'getNthElement'
  • Explore the test interface and write another test
Hands-on Challenge – Adding to Our getNthElement Function We want to add a new feature to our function. The viewer is going to add it on their own in this challenge.
  • Understand the new feature to add to getNthElement
  • Write the tests and the implementation to pass the tests
Using Backbone.js in Jasmine Tests Our tests so far have been vanilla JavaScript, but the rest of the course will be focused on Backbone tests. We’ll integrate the library here.
  • Explain the process of using Backbone.js in our tests
  • Write a test for the presence of Backbone.js and its dependencies
  • Add Backbone.js and its dependencies to our runner.html file
Introducing Jasmine You may not have experience with Jasmine, and may not even have it on your computer. We’ll download the library and go through an overview of the directory structure.
  • Discuss in depth what Jasmine is
  • Download Jasmine on your machine
  • Understand the directory structure
Introducing Jasmine You may not have experience with Jasmine, and may not even have it on your computer. We’ll download the library and go through an overview of the directory structure.
  • Discuss in depth what Jasmine is
  • Download Jasmine on your machine
  • Understand the directory structure
Introducing Jasmine You may not have experience with Jasmine, and may not even have it on your computer. We’ll download the library and go through an overview of the directory structure Up a Model Our section will rely on an understanding of what the recipe model should do. We’ll introduce that understanding here.
  • Describe the use case
  • Enumerate the features of our recipe model
  • Describe what we should...

Additional information

Having knowledge of the node package management ecosystem will be beneficial, although not compulsory

Learning Backbone.js Testing

£ 10 + VAT