Treffer: Learning Behavior-driven Development with JavaScript : Create Powerful Yet Simple-to-code BDD Test Suites in JavaScript Using the Most Popular Tools in the Community
Weitere Informationen
Key FeaturesBook DescriptionWhat you will learnUnderstand the basic concepts of BDD and how it is different from classic unit testingDivide your system into different modules that can be tested separately, but at the same time not falling into the trap of unit testingUse Mocha, Sinon.JS, and Chai to write expressive BDD featuresImplement Cucumber.js to automate tests written in Gherkin so that your stakeholders can understand themDiscover how to test asynchronous systems, either based on callbacks or promisesTest a RESTful web API and a rich UI using WebDriverJS and ProtractorRefactor and keep your test code base maintainable using best practices and patterns such as PageObjectWho this book is forTThis book is ideal for any JavaScript developer who is interested in producing well-tested code. If you have no prior experience with testing, Node.js, or any other tool, do not worry, as they will be explained from scratch.