Answer: Software testing is the process of evaluating a software application to ensure it meets specified requirements and functions correctly. It helps identify defects, improve quality, and enhance user satisfaction.
Answer: Types of testing include:
Answer: Key principles include:
Answer: Regression testing checks that recent changes haven’t adversely affected existing features, ensuring the software continues to function as intended.
Answer: Exploratory testing is an informal approach where testers explore the application without predefined cases, allowing for real-time discovery of defects.
Answer: End-to-end testing validates the complete workflow of an application, ensuring that all components function together as expected.
Answer: Unit testing tests individual components or functions of software in isolation, typically conducted by developers during coding.
Answer: An API (Application Programming Interface) is a set of protocols that allows different software applications to communicate, enabling integration.
Answer: A test environment is the setup—hardware, software, and configurations—where testing occurs to simulate real-world conditions.
Answer: Test coverage techniques include:
Answer:
Answer: Yes, automation testing is beneficial in Agile for rapid feedback, supporting continuous integration, and enhancing testing efficiency.
Answer:
Answer: A bug is a defect in the software that causes it to produce incorrect or unexpected results.
Answer:
Answer: A Test Plan outlines the testing strategy and objectives. It includes test objectives, scope, approach, resources, schedule, and risk assessment.
Answer: A Test Report summarizes testing activities and results. It includes a summary, executed test cases, identified defects, coverage, and recommendations.
Answer: Test Deliverables are documents produced during testing, including test plans, cases, scripts, reports, and defect logs.
Answer: Categories include:
Answer: Common mistakes include inadequate requirements analysis, poor test planning, ignoring regression tests, and lack of documentation.
Answer: A user story is a simple description of a software feature from an end-user perspective, typically formatted as: “As a [user role], I want [feature] so that [benefit].”
Answer:
Answer: A/B testing compares two versions of a web page or application to see which performs better based on user interactions.
Answer: Defects are flaws in software that deviate from expected behavior or requirements, causing errors or failures.
Answer:
Answer: Sanity testing is a quick check to verify that specific functions or bug fixes work as intended after changes.
Answer: TestNG is a testing framework designed to cover all categories of testing, offering advanced features like data-driven testing and parallel execution.
Answer: Yes, you can skip methods in TestNG using @Test(enabled = false)
or by throwing an exception to indicate that a method should not run.