Testing Flashcards
What is smoke testing?
Smoke testing is a software testing process that determines whether the deployed software built is stable or not. It verifies whether important features are working and that there are no showstoppers in the build under testing.
What is regression testing?
Regression testing is software testing to confirm that recent program or code has not adversely affected existing features. Regression is normally a full or partial selection of already completed test cases that are re-executed.
What is unit testing?
Unit testing is a way of testing a unit - the smallest piece of code that can be logically isolated in a system.
What are the levels of testing?
There are 4 primary levels of testing:
- Unit testing
- Integration testing
- System testing
- Acceptance testing.
What is a test case?
A test case is a - specification of input - execution conditions - testing procedure - expected results that define a single test to be executed to achieve a particular software testing objective normally to verify compliance with a specific requirement. To fully test a requirement there should e a positive and a negative test case.
Why do you do regression test?
To ensure than new code changes do not adversely affect existing functionalities.
What is integration testing?
Integration testing is performed after unit tests are complete on software to check the effective functionality of the units between each other.
What is the difference between integration and regression testing?
Timing:
- Integration is conducted after unit tests
- Regression is conducted at every stage and can be done before or after deployment after any changes to the former code.
Scope:
- Integration checks the effectiveness of units
- Regression checks the effectiveness of the application and ensures old bugs are not reintroduced.
what is a subroutine
In computer programming a subroutine is a sequence of program instructions that performs a specific task, packaged as a unit.
What is the difference between a negative and a positive test case?
Positive test cases are conducted to ensure users can perform appropriate actions with valid data.
Negative test cases are conducted to try and break the system by performing unacceptable actions with invalid datap