Qa Automation Flashcards
What is cucumber and why is it important?
Cucumber is a software testing tool that simplifies writing and duplicating test cases. It supports BDD, enabling various professionals to understand and test software without deep technical knowledge. This speeds up testing, helping companies release and fix software more quickly.
Describe some primary benefits of using cucumber?
From my experience, Cucumber supports various programming languages, facilitating collaboration with different developers. It acts as an end-to-end testing framework, accommodating all types of tests. Its simple architecture allows for code reuse, which cuts costs and accelerates development.
What’s the difference between selenium and cucumber?
Selenium and Cucumber are both automation tools but serve different purposes: Cucumber is for BDD and acceptance tests, while Selenium is for UI tests. Technical teams often prefer Selenium, while Cucumber is favored by teams with both business and development roles due to its ease of use for script creation
how does BDD process work?
The BDD process has three phases: discovery, where acceptance criteria are collaboratively created; formulation, which refines these criteria into detailed acceptance tests; and automation, which enables continuous testing of these criteria.
Explain a master /slave architecture of Jenkins ?
• Jenkins master pulls the code from the remote GitHub repository every time there is a code commit
• It distributes the workload to all the Jenkins slaves
• On request from Jenkins master, the slaves carry out builds and tests and produce test reports
1) Mention what is Jenkins?
Jenkins is an open source tool with plugin built for continuous integration purpose. The principle functionality of Jenkins is to keep a track of version control system and to initiate and monitor a build system if changes occur. It monitors the whole process and provides reports and notifications to alert.
2) Explain what is continuous integration?
In software development, when multiple developers or teams are working on different segments of same web application, we need to perform integration test by integrating all modules. In order to do that an automated process for each piece of code is performed on daily bases so that all your code get tested.
What is the requirements for using Jenkins?
Source code repository like Git
And a working build script like maven checked into repository
6) Mention what are the commands you can use to start Jenkins manually
To start Jenkins manually?
Either of the following
• (Jenkins_url)/restart: Forces a restart without waiting for builds to complete
• (Jenkin_url)/safeRestart: Allows all running builds to complete
Mention some useful Jenkins plug ins and the purpose of plug ins?
Maven 2 project
• Amazon EC2
• HTML publisher
• Copy artifact
• Join
• Green Balls
For addition features
Integrations
Capabilities
Build tools
Source code managements
Testing framework
What is Git?
Git is a free, open-source version control system (VCS) that helps software engineers, programmers, and developers collaborate on projects by tracking changes to source code
Git is a distributed version control system that tracks code changes, supports collaboration, and manages different versions of a project efficiently.
What is version control?
Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later
List of common shell commands?
Ls -listing files
Cp- copy file
Mv- move files or directories
Mkdir- creates new directory
Touch - modify timestamp
Vim- Linux text editor that runs in the terminal
grep - searches for matching lines a search pattern and prints them
What is Linux Shell Scripting
: Involves writing scripts to automate tasks in the Linux operating system, such as file management, system monitoring, and software installation. It uses shell commands to execute operations on the system.
What is Linux?
Linux® is an open-source OS that manages hardware and resources like CPU, memory, and storage, connecting software to physical components.