Books: 4

Jasmine

CoverTitleYear
*Updated to the Angular 2.4.3 released in January 2017. After reading this book, you are going to be able to:- - Understand the latest features of ES6 JavaScript and TypeScript. - Build an Angular 2 application from scratch using TypeScript and the Angular command line interface. - Write code more » using the paradigm of reactive programming with RxJS and Observables. - Know how to Unit Test Angular 2 using Jasmine, Karma and the Angular Test Bed The first chapter in the course is a quickstart where you dive straight into writing your first Angular 2 application. We use the web editor plunker so you can get stuck in writing code ASAP. In this quickstart you'll get a 50,000 foot view of the major features of Angular 2. Then chapter by chapter we go much deeper into each of these features. I'll cover the theory for that feature, using plunker as much as possible so you can try out the code yourself in a browser. Then you'll practice what you've learnt with either an online quiz or a set of flash cards. You are going to learn all about:- - Typescript & ES6 Javascript. - Components & Binding - Directives - Dependancy Injection & Services - Angular Modules & Bootstrapping your Angular application. - SPAs & Routing - Angular CLI - Forms - Reactive Programming with RXJs - HTTP - Unit Testing The ideal student is an existing web developer, with some JavaScript knowledge that wants to add Angular 2 to their skill set. Or perhaps you are an existing Angular 1 developer who wants to level up to Angular 2. You do need to be comfortable with at least the ES5 version of JavaScript. We'll be using a UI framework called twitter bootstrap throughout the course but you still must know HTML and some CSS. « less
2017
Test your JavaScript applications efficiently using Jasmine and React.js
***** About This Book ***** * Leverage the power of unit testing React.js to develop full-fledged JavaScript applications * Learn the best practices of modularization and code organization while scaling your application * Enhance your practical skills required to develop applications using the Jasmine more » framework in a step-by-step manner ***** Who This Book Is For ***** This book is for web developers and designers who work with React.js and JavaScript and who are new to unit testing and automation. It's assumed that you have a basic knowledge of JavaScript and HTML. ***** What You Will Learn ***** * Understand and use the power of Jasmine to create better and more maintainable code bases * Drive your application development entirely by tests * Write modular and reusable code through the power of ECMA Script 6 (ES6) modules * Use asynchronous tests, stubs, and spies optimally * Test drive a React.js single-page application * Optimize your code to unleash the power of tooling and automation ***** In Detail ***** Take your testing of JavaScript applications to a new level of efficiency and reliability with the help of this book. Starting with the fundamentals of Jasmine and behavior-driven development (BDD), you will learn about tooling and automation. You will learn how to create a sustainable code base with the help of Jasmine. You will also take a look at integrated testing with React.js and Karma, and how you can speed this process up by faking AJAX requests. As you progress through the book, you will learn about the challenges of testing an application built on top of a framework and how you can prevent your application from suffering from dependency management. You will understand the concept of client-side and server-side rendering and test applications using React.js. You will also learn to automate using webpack and work with JavaScript module systems using ECMA Script 6 (ES6) modules. By the end of this book, you will be a competent web developer with good knowledge and a strong understanding of how to efficiently use the Jasmine framework for testing purposes. « less
2015
Build enterprise-ready, industrial strength web applications using TypeScript and leading JavaScript frameworks
ABOUT THIS BOOK * Focus on test-driven development to help build quality applications that are modular, scalable, maintainable, and adaptable. * Practical examples that show you how to use TypeScript with popular JavaScript frameworks including Backbone, Angular, Node.js, require.js, and Marionette * more » Enhance your TypeScript knowledge with in-depth discussions on language features, third-party libraries, declaration files, and so on using practical scenarios. WHO THIS BOOK IS FOR Whether you are a JavaScript developer aiming to learn TypeScript, or an experienced TypeScript developer wanting to take your skills to the next level, this book is for you. From basic to advanced language constructs, test-driven development, and object-oriented techniques, you will learn how to get the most out of the TypeScript language. WHAT YOU WILL LEARN * Gain an insight into core and advanced TypeScript language features including inheritance and generics * Integrate your existing JavaScript code and third-party JavaScript libraries by writing and using declaration files * Write TypeScript code to target popular JavaScript frameworks such as jQuery, Backbone, Angular, Node, and Marionette * Create extensive testing suites for your application, including unit testing, integration testing, and browser automation with Jasmine and Selenium * Organize your application code using modules, and utilize Asynchronous Module Loading with require.js * Explore advanced object-oriented techniques including dependency injection and strongly typed domain events * Build a complete single-page web application with TypeScript and Marionette, incorporating object-oriented design patterns along the way IN DETAIL The TypeScript compiler and language has brought JavaScript development up to the enterprise level, yet still maintains backward compatibility with existing JavaScript browsers and libraries. Packed with practical code samples, this book brings the benefits of strongly typed, object-oriented programming and design principles into the JavaScript development space. Starting with core language features, and working through more advanced topics such as generics and modules, you will learn how to gain maximum benefit from your JavaScript development with TypeScript. With a strong focus on test-driven development and coverage of many popular JavaScript frameworks, you can fast-track your TypeScript knowledge to a professional level. By the end of this book, you will be able to confidently implement a TypeScript application from scratch. « less
2015
JavaScript Behavior-Driven Development
Get a concise introduction to Jasmine, the popular behavior-driven testing framework for JavaScript. This practical guide shows you how to write unit tests with Jasmine that automatically check for bugs in your application. Learn how to write specifications for individual components, and then use those more » specs to test the code you write. Throughout the book, author Evan Hahn focuses primarily on methods for testing browser-based JavaScript applications, but you'll also discover how to use Jasmine with CoffeeScript, Node.js, Ruby on Rails, and Ruby without Rails. You won't find a more in-depth source for Jasmine anywhere. « less
2013