This article mainly introduces e2e testing instances in angularjs. This article uses Protractor to complete e2e testing. For more information, see ng unit testing in the previous article, today we will talk about e2e (end-to-end) testing.
When we test a single function point of a module, unit testing is the most suitable. However, when users encounter a bug when performing multiple page interactions, unit testing will not work, at this time, e2e is used to simulate user operations to restore
Code editing tool Sublime (Emmet plug-in, HTML, CSS auto-completion, and other functions are recommended) Webstorm Breakpoint debugging tool Firebug Angularjs batarang (chrome plug-in) Development and debugging tools Nodejs Version Management Tools Git Code merging and obfuscation tools Grunt (Javascript file merging, automatic JavaScript code compression, CTRL + S Automatic execution of the first two steps and unit testing, integration testing) Dependency management tools
this post we ' d like to showcase you the list of highly useful ANGULARJS tools which your use to create a amazing web Application. Enjoy!!!JasmineJasmine is a Behavior driven development testing framework for JavaScript. It does not rely on the browsers,dom, or any JavaScript framework. Thus it ' s suited for websites, node. js projects, or anywhere that JavaScript can run.More infoProtractorProtractor is a end-to-end test framework for AngularJS applications. Protractor is a node. js program
project, the general situation is: CSS, IMG, SRC, JS, TPL, and Portal files index.htmlIf we need to install Nodejs-based tools, such as code obfuscation tools, automated tests, and so on, it's usually installed under the Node_modules directory, and if you need to test, you'll also have the test folder.Installing these assistive tools through the NMP1, Karma: Unit Test Tool. Use Karma-coverage coverage with Jasmine2. Jasmine: Provides a set of syntax for writing test cases3, Grunt:js file merge,
Tags: blog http OS use AR file SP Div CCode editing toolSublime (Emmet plug-in, HTML, CSS auto-completion, and other functions are recommended)WebstormBreakpoint debugging toolFirebugAngularjs batarang (chrome plug-in)Development and debugging toolsNodejsVersion Management ToolsGitCode merging and obfuscation toolsGrunt (Javascript file merging, automatic JavaScript code compression, CTRL + S Automatic execution of the first two steps and unit testing, integration testing)Dependency management t
, and CSS selectors.
Protractor is an end-to-end test framework for testing angular applications. It is built on WEBDRIVERJS, which simulates real-world users through browser events or native events to test the application.
Debugging
JavaScript Debugger is developed by the Mozilla Developer Network (MDN) and can be used independently for debugging node. JS code, or for other browsers. Firefox provides local and remote debugging capab
Contact Us
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.