Home| All soft| Last soft| Your Orders| Customers opinion| Helpdesk| Cart

Program Search:


Shopping Cart:




*Note: Minimum order price: €20
We Recommend:

Packtpub Learning Backbone.js Testing €10 buy download

2015
Packt Publishing
Jonathan Freeman
1:48
English

The dynamic nature and flexibility of JavaScript and Backbone.js 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 Backbone.js 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 Backbone.js 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 Backbone.js 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!

Getting Started with Testing
The Course Overview
Testing and Why It’s Used
Understanding TDD versus BDD
Investigating Our Toolshed
Understanding Jasmine
Introducing Jasmine
Making Our Way Through the Syntax
Writing a Simple Test
Hands-on Challenge – Adding to Our getNthElement Function
Using Backbone.js in Jasmine Tests
Testing Models
Cooking Up a Model
Testing Instantiation and Defaults
Taking Care of Dietary Restrictions
Introducing Fixtures
Hands-on Challenge – Refactoring to Use Fixtures
Automating the Process
Embracing Laziness
Installing Karma
Running Karma in Browsers
Making Our Tests Work with Karma
Depending on AJAX
Collecting Our Recipes
Hands-on Challenge – Getting All the Variations
Mocking AJAX with Sinon.js
Setting Up a Mock Backend Server
Testing Views
Setting Up Our Views
Templating and DOM Expectations
Rendering Our View
Taking Notes
Hands-on Challenge – Adding Recipes
Testing Routers
Unit Testing Routers
Introducing Spies
Writing Our First Router Test
Hands-on Challenge – Routing Recipe Variations



Download File Size:358.19 MB


Packtpub Learning Backbone.js Testing
€10
Customers who bought this program also bought:

Home| All Programs| Today added Progs| Your Orders| Helpdesk| Shopping cart      





Adobe Photoshop 2022 €90

             

Adobe Illustrator 2022 €75






AutoCAD 2023 €110


SolidWorks 2022 €115


AutoCAD 2023 for Mac €110






CorelDRAW Graphics Suite 2021.5 for Mac €65

             

Adobe Master Collection 2021 for Mac €260