03864nam 2200445 450 991016403820332120180130145528.01-78646-276-1(CKB)3710000001056199(MiAaPQ)EBC4803417(CaSebORM)9781786465474(PPN)220207151(EXLCZ)99371000000105619920170306h20172017 uy 0engurcnu||||||||rdacontentrdamediardacarrierAngular test-driven development enhance your testing skills to build powerful and fault-free applications in Angular v4 /Md. Ziaul HaqSecond edition.Birmingham, [England] ;Mumbai, [India] :Packt Publishing,2017.©20171 online resource (246 pages)Includes index.1-78646-547-7 Enhance your testing skills to build powerful and fault-free applications in Angular v4 About This Book Learn test-driven development (TDD) for JavaScript Improve your Karma and Protractor expertise by setting up an Angular test suite A wide range of testing techniques for professional Angular applications accompanied by practical examples Who This Book Is For This book is for developers who have experience with Angular but want to understand the wider context of when, why, and how to apply testing techniques and best practices to create quality clean code. To get the most out of this book, you should have a good understanding of HTML and JavaScript and a basic understanding of Angular. What You Will Learn Get a clear overview of TDD in the context of JavaScript with a brief look at testing techniques, tools, and frameworks Get an overview of Karma and create test suites for an Angular application Install and configure Protractor for Angular and explore a few important Protractor APIs Understand automated testing and implement headless automated tests with Karma Implement testing techniques with mocks, broadcast events, and asynchronous behavior Integrate REST-based services and APIs into an application to extract data Automate Karma unit tests with Travis CI In Detail This is a complete guide that shows you testing techniques with Karma that will help you perform unit testing and end-to-end testing with Protractor. It will show you how to optimize your Angular development process using TDD techniques and ensure your final project is free of bugs. All examples in this book are based on Angular v2 and are compatible with Angular v4. We start by reviewing the TDD life cycle, TDD in the context of JavaScript, and various JavaScript test tools and frameworks. You will see how Karma and Protractor can make your life easier while running JavaScript unit tests. We will enable you to build a test suite for an Angular application and build a testable medium-to-large scale Angular application by handling REST API data. Building on the initial foundational aspects, we move on to testing for multiple classes, partial views, location references, CSS, and the HTML element. In addition, we will explore how to use a headless browser with Karma. We will also configure a Karma file to automate the testing and tackle elements of Angular (components, services, classes, and broadcasting) using TDD. Finally, you will find out how to pull data using an external API,...JavaScript (Computer program language)AngularJS (Software framework)JavaScript (Computer program language)AngularJS (Software framework)005.2762Haq Md. Ziaul1232783MiAaPQMiAaPQMiAaPQBOOK9910164038203321Angular test-driven development2862537UNINA01026nam a2200265 i 4500991002683929707536070723s1999 nyua b 001 0 eng d0387987932b13564389-39ule_instDip.to Ingegneria dell'Innovazioneeng519.76Nocedal, Jorge477830Numerical optimization /Jorge Nocedal, Stephen WrightNew York :Springer,c1999xx, 636 p. :ill. ;24 cmSpringer series in operations researchIncludes bibliographical references and index.Mathematical optimizationWright, Stephen J.,1960-.b1356438928-01-1423-07-07991002683929707536LE026 519.76 NOC 01.01 199912026000014791le026Prof. Fuduli / BibliotecapE81.00-l- 45150.i1452308523-07-07Numerical optimization241622UNISALENTOle02623-07-07ma -engnyu00