190 likes | 868 Views
***** DevOps Masters Program : https://www.edureka.co/masters-progra... ***** <br>This tutorial on DevOps testing will help you understand how Continuous Testing takes place in the DevOps lifecycle and which tools are used for the same. The following topics have been covered in this video: <br>1. What Is Continuous Testing? <br>2. Various Testing Types <br>3. Tools Used For Continuous Testing <br>4. Demo: Maven, Selenium, TestNG & Jenkins Integration
E N D
Agenda Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Agenda For The Session i. What Is Continuous Testing? ii. Various Testing Types iii. Tools Used For Continuous Testing iv. Demo: Maven, Selenium, TestNG & Jenkins Integration Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Continuous Testing In DevOps Process of automating the execution of test cases is called Automation Testing. Scheduling Automation Tests after every feature update is called Continuous Testing. DevOps Lifecycle → → NOTE:- Continuous Testing spans over TEST, RELEASE & DEPLOY. Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Tools Used For Continuous Testing DevOps Lifecycle → → Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Different Testing Types In Continuous Testing Ensures that the software has the required functionality mentioned in its requirements. Functional Testing Smaller units/ components of a software application are tested independently for checking their functionality. Unit Testing Process of testing the performance of the software application during heavy load/ usage. Load Testing Process of determining the break point of the software application when under stress. (maximum load) Stress Testing Process where a group of components which are combined/ integrated to produce an output are tested. Integration Testing Testing the functionality of the entire application when even a small component has been modified. Regression Testing Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Tools Used For Continuous Testing DevOps Lifecycle → → Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Role Of Continuous Testing Tools • Helps in easily managing the project structure, its dependencies & test cases • Can automatically download the necessary files & dependencies from the repository • These details need to be specified in the pom.xml file Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Role Of Continuous Testing Tools • MAIN TOOL for testing the web application • But has limitations like: Test case management & Report generation • Hence tools like Maven, TestNG & Jenkins are integrated with it Selenium WebDriver Selenium WebDriver Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Role Of Continuous Testing Tools • Used with Selenium WebDriver for overcoming limitations: • Test Annotations for managing Test Cases • Generates structured Test Reports • Helps perform Unit Testing Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Role Of Continuous Testing Tools • Tool responsible for Continuous Testing (Automates Test Execution) • Schedules builds and deploys the code to prod or staging server • Integrates seamlessly with most testing tools Jenkins Jenkins Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Role Of Continuous Testing Tools • Maven helps in easily managing the project structure, its dependencies & test cases • It can automatically download the necessary files & dependencies from the repository • These details need to be specified in the pom.xml file DEMO:- Maven, Selenium, TestNG & Jenkins Integration • Performs the actual testing of the web application • It has the following limitations: Test case management, Report generation • Hence tools like Maven, TestNG & Jenkins are integrated with it • Uses Test Annotations for managing Test Cases • Generates structured Test Reports • Helps in Unit Testing • DevOps tool which is responsible for Continuous Testing. (Automates Test Execution) • Schedules builds and deploys the code to prod or staging server Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Hands-On Continuous Testing Copyright © 2017, edureka and/or its affiliates. All rights reserved.
WebDriver vs. IDE vs. RC ➢ Data Warehouse is like a relational database designed for analytical needs. ➢ It functions on the basis of OLAP (Online Analytical Processing). ➢ It is a central location where consolidated data from multiple locations (databases) are stored. Copyright © 2017, edureka and/or its affiliates. All rights reserved.