The pre-reading (in the Learn Dot workshop) covers TDD, reading test specs, the prototype chain, factory functions, and constructor functions.
Instructors should open this repo to allow students to complete the "Reading Test Specs" exercises.
By completing this workshop, students will be able to:
- Define test-driven development and list some of its advantages
- Articulate the difference among testing frameworks, test suites, and specs
- Read basic Jasmine test specs
- Define JavaScript’s internal [[Prototype]] property and its relation to built-in methods
- Construct a prototype chain
- Create an object “instance” with and without using the ‘new’ operator
- Explain what the “this” keyword references and how it can be used
TDD, testing frameworks, unit tests, prototype chain, factory functions, constructor functions, "new" operator, and "this" keyword
| Assets | Time | |
|---|---|---|
| LECTURE | ||
| START PT | Github | |
| WORKSHOP | Learndot | |
| SOLUTION | Video1 Video2 Code |
Pre-requisite — RF: Toolbox
There is a Object Oriented Programming Part II. Both should be completed before the Selector.js workshop
Factory Functions Constructor Functions The other solution videos are included in the workshop actions