Maven is a build automation tool used for managing dependencies, compiling code, running tests, and producing artifacts for projects. It provides a standard directory structure for Java projects and defines a lifecycle of tasks like compiling, testing, packaging, and deploying. Jenkins is a CI/CD tool that automates the process of building, testing, deploying, and delivering applications. It allows continuous integration by continuously executing Selenium test scripts to check for integration issues between old and new features. GitHub is a code hosting platform that allows maintaining source code, automation frameworks, documentation, and application builds in a centralized, cloud-based repository.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
50 views3 pages
Maven, GitHub, Jenkins (IntroBS)
Maven is a build automation tool used for managing dependencies, compiling code, running tests, and producing artifacts for projects. It provides a standard directory structure for Java projects and defines a lifecycle of tasks like compiling, testing, packaging, and deploying. Jenkins is a CI/CD tool that automates the process of building, testing, deploying, and delivering applications. It allows continuous integration by continuously executing Selenium test scripts to check for integration issues between old and new features. GitHub is a code hosting platform that allows maintaining source code, automation frameworks, documentation, and application builds in a centralized, cloud-based repository.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3
MAVEN
-> Its also called as Build management Tool, Build testing Tool, Build Dependency Tool, -> Maven is Tool used which has become popular for the build management instead ANT and GRADLE
=> Why Maven used in Automation Testing?
- In Automation Maven is used for Testing the Application with the current/recent Framework by executing the test scripts - When Multiple automation testers are working with same framework, there might be chances that the changes made by one Automation engg might affect the entire framework, in order to over come this issue we run the Maven life cycle for every build - mvn clean, mvn validate, mvn compile, mvn test are the maven command used
Maven Contains Two SoftWares
*Maven Eclipse plugin. *Maven CommandLine Plugin
To create maven Project:
Group id: Organization/Community Name Artifact Id: Project Name
a. Check the integration & compilation issue between the framework component whenever multiple engineer working with same framework, their might be possibilities one engineer modification, addition & deletion Might affect the entire build b. handle dependencies jars c. Create framework configuration quick setup for new engineers (because all the required dependencies jar. Versions declared in POM.xml, you just to get the framework from the GIT & save the POM file d. provide framework folder structure ----------------------------------------------------------------------------------- ------------- GITHUB => Definition: It’s a distributed cloud decentralized repository where we can maintain our sourceCode / Automation Framwork / CRS doc /build of the application in one place
=> Softwares involved in Github
There are 2 Software in GitREpository 1. Git HUB:- Cloud based repository(software), which is used maintain the source code in one place, in order to use it just create an account with https://github.com 2. Git [Git client]:- it’s a software should installed in client machine , which is used to communicate to GITHUB---->S/w-->GitBash. => Advantages of GitHub Cloud 1. Since its cloud based repository , no need have maintenance team to maintain the Software / HardWare 2. Cloud means pay rent for what you use 3. Cloud software always access via internet 4. Cloud System / sever physically not present within the Organization, but present virtually EG : EGit:- Eclipse Git, Installed with Eclipse, we can execute git commands through eclipse. GitDeskTop/GitBash:- Should be installed externally to execute git commands through cmd line ----------------------------------------------------------------------------------- -------------------------------------------- JENKINS -> Jenkins is a CI/CD Tool used by Developers, DevOps and Automation Testers. -> CI -> Continous Integration CD -> Continous Development -> Continous Deployment -> Continous Delivery
=> Basically Jenkins automates
-> Process of build creation - Continous development -> Process of installing the build into testing environment - Continous deployment -> Process of checking the integration issues between old feature and new features - continous integration -> Process of delivering the tested the build to the production environment - Continous delivery
=> Why Jenkins is required in Automation?
-> Continious Intergration : Continous execution of the selenium test scripts in
testing environment to check the integration issues.
=> scheduling Job in Jenkins:
Scheduling decides when the job execution should be triggered or started. There are 3 types of Scheduling in Jenkins: -> On Demand -> On schedule -> Poll SCM ----------------------------------------------------------------------------------- ------------------------