0% found this document useful (0 votes)
3 views1 page

CI/CD Automation with Jenkins and Bamboo

The document outlines an automation build plan using Jenkins or Bamboo for CI/CD on a Linux server with headless browser capabilities. It details the testing framework, including unit tests, smoke tests, integration tests, and regression tests, along with the use of a BDD framework with Cucumber for behavior-driven development. Additionally, it discusses scheduling tests and the importance of various testing stages in the development process.

Uploaded by

melikecoder
Copyright
© All Rights Reserved
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% found this document useful (0 votes)
3 views1 page

CI/CD Automation with Jenkins and Bamboo

The document outlines an automation build plan using Jenkins or Bamboo for CI/CD on a Linux server with headless browser capabilities. It details the testing framework, including unit tests, smoke tests, integration tests, and regression tests, along with the use of a BDD framework with Cucumber for behavior-driven development. Additionally, it discusses scheduling tests and the importance of various testing stages in the development process.

Uploaded by

melikecoder
Copyright
© All Rights Reserved
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

Automation build plan--remote server(Jenkins bamboo)

os--linux(no ui)--headless browser

switch real browser to headless browser


if the os is windows or Mac use chrome in real browser mode
else os is linux use headless chrome browser mode
CI/CD Pipeline
WebApplication(developer)--UnitTest(JUnit,NUnit,PyUnit)
Test Automation developer(SDET)--(TestNG,CuCumber framework)
smoke,integration,regression test suite

Jenkins/Bamboo CI/CD tool (EveryThing done by Job)


bitbucket--code repository
Application build plan-compile code and run unit test
Automation build plan-run smoke integration regression test

Why do we need test on Jenkins/Bamboo?


Local:Devople automation on your laptop & Debugging your code
smoke test--build plan
integration test
code freeze--no new application code deploy
regression test--on demand(based on release)new feature bug fix
sanity test--part of regression test
database test
api test

Run test on Schedule--nightly test execution,hourly test execution--every 3 hours


Corn job - corn expression

BDD Framework(behaviour data driven)


Cucumber framwork , restAssuredApi test

[Link] File(written by Gherkin languange)--business logic


Feature,Scenario,
Given(Precondition)
when(Action)
then(verification)
and --for multiple steps
but---negative steps
Scenaryo outline Example(For parameterized test)
Background(for repeated steps)
Cucumber Hook--before after annotaion(by default Junit)
business logic-feature file( .feature)-a definition of test suite(Function of
application)
[Link] definition (code)--code logic
[Link] runner(@Runwith cucumberOptions)

You might also like