Lecture 6 Flashcards
What are the objectives of a software test plan?
To identify testing objectives
To establish the testing scope
To define the testing strategy
To allocate testing resources
To identify risks and contingency plans
To define the acceptance criteria
What is meant by identifying testing objectives?
The test plan should define the overall testing objectives of the project, including the quality criteria that the software should meet
What is meant by defining the test strategy?
The test plan should outline the testing strategy for the project, including the testing methods, techniques and tools that will be used to verify the software’s functionality and performance
What is meant by establishing the testing scope?
The test plan should identify the scope of the testing activities, including features and functions of the software that will be tested, the types of testing that will be conducted and the testing environments that will be used
What is meant by allocating testing resources?
The test plan should identify the resources required for testing, such as the number of testers, test environments and testing tools. It should also specify the roles and responsibilities of each member of the testing team
What is meant by identifying risks and contingency plans?
The test plan should identify the potential risks to the testing activities and define contingency plans to mitigate those risks
What is meant by defining the acceptance criteria?
The test plan should establish the criteria that will be used to determine whether the software is ready for release. These should be aligned with the testing objectives and quality criteria defined earlier.
What is a test case?
A specific scenario or condition that is designed to test the functionality of a software application or system.
It is a set of steps or inputs that are executed by a tester or testing team to verify the system or application is working as expected.
What elements are in a test case ?
Test case ID: A unique identifier for the test case
Test case description: A brief description of what the test case is intended to test
Preconditions: Any necessary conditions that must be met before the test can be executed
Test steps: The specific steps that must be executed to perform the test
Expected result: The expected outcome of the test
Actual result: The actual outcome of the test
What is the importance of test cases?
To ensure that the software works as intended
To verify changes
To improve software quality
To provide documentation
What are the 14 essential things to include in your software test plan as part of the quality analysis process?
Objectives and scope of testing
Test strategy
Test environment
Test schedule
Test deliverables
Test team roles and responsibilities
Test case design
Test execution
Test data
Test metrics
Defect management
Risk management
Test completion criteria
Sign off and approval
Describe 6 of the essential things to include in your software test plan as part of the QA process
Objectives and scope of testing is where the test plan clearly defines the objectives of testing and the scope of testing effort.
Test strategy is the outline of the overall approach to testing, including the types of testing to be performed and the tools and techniques to be used.
Test environment is the hardware and software required to conduct testing as well as any special requirements or configurations.
Test schedule is the timeline for testing, including the milestones, deadlines and dependencies.
Test deliverables is the specification of the testing deliverables such as test cases, test scripts and test reports.
Test team roles and responsibilities is the definition of the roles and responsibilities of the members of the testing team, including the test manager, testers and other stakeholders.
What are the most common programming errors?
Syntax errors
Logic errors
Runtime errors
Null pointer errors
Type errors
Boundary errors
Integration errors
Performance errors
Compatibility errors
Documentation errors
Describe 6 of the most common programming errors
Syntax errors occur when there is a mistake in the syntax of the programming language. E.g a missing semicolon or incorrect use of quotes.
Logic errors occur when the program compiles and runs without errors but produces incorrect results. This can happen when there is a mistake in the algorithm or logic used in the program.
Runtime errors occur when the program is running and encounters a problem that prevents it from continuing. This can happen due to memory overflow or an invalid input.
Null pointer errors occur when the program attempts to use a null pointer, which is a pointer that doesn’t point to a valid memory location.
Type errors occur when there is a mismatch between the type of data being used and the type expected by the program. E.g trying to add a string to an int value
Boundary errors occur when the program attempts to access data beyond the bounds of an array or other data structure. This can result in memory corruption or program crashes.
What is debugging?
The process of finding and fixing errors or defects in a computer program.