Oreilly - Learning Backbone.js Testing - 9781785285530
Oreilly - Learning Backbone.js Testing
by Jonathan Freeman | Publisher: Packt Publishing | Release Date: August 2015 | ISBN: 9781785285530


An interactive guide to perform automated testing on Backbone.js applications with the help of a real-world exampleAbout This VideoLearn to set up an optimized automated testing environment to reduce manual testing woes and lower the barrier to entryUse and customize a breadth of common testing tools to prepare you for real-world scenariosImplement the testing techniques on a Backbone.js application to build experience and increase comfort while testingIn DetailThe 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!
  1. Chapter 1 : Getting Started with Testing
    • The Course Overview 00:02:43
    • Testing and Why It’s Used 00:05:06
    • Understanding TDD versus BDD 00:04:05
    • Investigating Our Toolshed 00:02:11
  2. Chapter 2 : Understanding Jasmine
    • Introducing Jasmine 00:02:40
    • Making Our Way Through the Syntax 00:02:48
    • Writing a Simple Test 00:04:40
    • Hands-on Challenge – Adding to Our getNthElement Function 00:01:33
    • Using Backbone.js in Jasmine Tests 00:02:42
  3. Chapter 3 : Testing Models
    • Cooking Up a Model 00:02:09
    • Testing Instantiation and Defaults 00:02:39
    • Taking Care of Dietary Restrictions 00:04:04
    • Introducing Fixtures 00:02:49
    • Hands-on Challenge – Refactoring to Use Fixtures 00:02:12
  4. Chpater 4 : Automating the Process
    • Embracing Laziness 00:02:12
    • Installing Karma 00:02:56
    • Running Karma in Browsers 00:02:18
    • Making Our Tests Work with Karma 00:03:07
  5. Chapter 5 : Depending on AJAX
    • Collecting Our Recipes 00:03:17
    • Hands-on Challenge – Getting All the Variations 00:04:31
    • Mocking AJAX with Sinon.js 00:04:24
    • Setting Up a Mock Backend Server 00:03:26
  6. Chapter 6 : Testing Views
    • Setting Up Our Views 00:02:54
    • Templating and DOM Expectations 00:05:34
    • Rendering Our View 00:04:06
    • Taking Notes 00:07:29
    • Hands-on Challenge – Adding Recipes 00:04:35
  7. Chapter 7 : Testing Routers
    • Unit Testing Routers 00:02:05
    • Introducing Spies 00:04:01
    • Writing Our First Router Test 00:04:43
    • Hands-on Challenge – Routing Recipe Variations 00:04:57
  8. Oreilly - Learning Backbone.js Testing


 TO MAC USERS: If RAR password doesn't work, use this archive program: 

RAR Expander 0.8.5 Beta 4  and extract password protected files without error.


 TO WIN USERS: If RAR password doesn't work, use this archive program: 

Latest Winrar  and extract password protected files without error.


 Coktum   |  

Information
Members of Guests cannot leave comments.


SermonBox - Seasonal Collection

SermonBox - The Series Pack Collection

Top Rated News

  • Christmas Material
  • Laser Cut & Print Design Elements Bundle - ETSY
  • Daz3D - All Materials - SKU 37000-37999
  • Cgaxis - All Product - 2019 - All Retail! - UPDATED!!!
  • DigitalXModels Full Collections
  • Rampant Design Tools Full Collections Total: $4400
  • FilmLooks.Com Full Collection
  • All PixelSquid Product
  • The Pixel Lab Collection
  • Envato Elements Full Sources- 3200+ Files
  • Ui8.NET Full Sources
  • The History of The 20th Century
  • The Dover Collections
  • Snake Interiors Collections
  • Inspirational Collections
  • Veer Fancy Collections
  • All Ojo Images
  • All ZZVE Collections
  • All Sozaijiten Collections
  • All Image Broker Collections
  • Shuterstock Bundle Collections
  • Tattoo Collections
  • Blend Images Collections
  • Authors Tuorism Collections
  • Motion Mile - Big Bundle
  • PhotoBacks - All Product - 2018
  • Dekes Techniques - Photoshop & Illustrator Course - 1 to 673
Telegram GFXTRA Group
Udemy - Turkce Gorsel Ogrenme Setleri - Part 2
Videohive Wow Pack Series


rss