80 likes | 178 Views
We are a passionate group of youngsters with the aim to deliver secure and creative solutions for currently prevailing obstacles and to avert future ones. Our solutions make sure your resources are efficiently worn and efforts are simple. We are start-ups confined to no boundaries. Hit us with your problems and we will bounce back with solutions. We welcome error pointed and feedback to serve you better. Our support team is available 24X7 to put a smile on you and keep your clients happy.
E N D
Software Testing Recruiting Session Tuesday, December, 29, 2015 career@knonex.com www.knonex.com
DEFINITION • The process of evaluating an application by manual or automation is called as software testing. • To check whether application satisfies the customer requirements. • To find the difference between expected result and actual result. WHY IS TESTING SO IMPORTANT? “Testing is about gaining confidence that your code does what you think it should do”
LEVELS OF TESTING • Unit testing • Integration testing • System testing • User acceptance testing
PROTRACTOR • Protractor is an end-to-end test framework for AngularJS applications. • Protractor runs tests against your application running in a real browser, interacting with it as a user would. IDEA BEHIND E2E TESTING • How would the user see my application? • Howmy frontendcommunicating with my backend? • Can I release this code?
JASMINE • Jasmine is a behavior-driven development framework for testing JavaScript code. • It does not depend on any other JavaScript frameworks. And it has a clean, obvious syntax so that you can easily write tests. • Jasmine latest version 2.4.1.
Sample source code 1. spec.js2. conf.js // spec.js describe('Protractor Demo',function(){ it('should have a title',function(){ console.log(“WELCOME”); }); }); // conf.js exports.config={ framework:'jasmine', seleniumAddress:'http://localhost:4444/wd/hub', specs:['spec.js'] }