Karteikarten
Rep Testing
Karten in diesem Stapel (23)
- 1What is an error?The system is in a state such that further processing by the system can lead to failure
- 2What is a fault?The mechanical or algorithmic cause of an error
- 3What is a failure?Any deviation of the observed behavior from the specified behavior
- 4Differentiate Verification from ValidationVerification: Activity that checks if the observed behavior complies with the specified behavior
Validation: Activity that checks if the observed behavior complies with the needs informally expressed by the stakeholders - 5What are the model based design activities that fit to each of the following documents: - Object Design Document - System Design Document - Requirements Analysis Document - Client Expectations1. Unit Testing
2. Integration Testing
3. System Testing
4. Acceptance Testing - 6What is a Unit in object-oriented programming?Unit = Class (Attribute, individual method or interface of the class)
- 7What are Unit Tests?Short code fragments created by programmers (or occasionally by white box testers) during the development process
- 8What does "@Before public void bar()" do?Performs bar() before executing any test method
- 9What does "@After public void foobar()" do?Any test method must finish with call to foobar()
- 10What does "@BeforeClass public void foofoo()" do?Performs foofoo() before the start of all tests. Used to perform time intensive activities (e.g. connecting to database)
- 11What does "@Ignore (String s)" do?Ignores the test method prefixed by @Ignore, prints out the String S instead.
- 12What is the goal of integration testing?Test all interfaces between subsystems and the interaction of subsystems
- 13Name the different integration Testing Strategies1. Big Bang Integration
2. Bottom-up Strategy
3. Top-down Strategy
4. Sandwich Strategy
5. Vertical Integration - 14Drivers and Stubs are used for which strategies?Stubs: Top-down
Drivers: Bottom-up - 15What is special about the Sandwich Strategy?- Combines top-down and bottom-up strategy
- System is viewed as having 3 layers: target layer, layer above and layer below - 16What is special about Vertical Integration? Which advantages does Vertical Integration have?1. Addresses Risks by building as early and frequently as possible
2. Advantages:
- There is always an executable version of the system
- All the team members have a good overview of the project status - 17What is the SUT?System under Test
- 18How are the objects called that interact with the SUT?Collaborators
- 19What is the purpose of Doubles in the Test Model?These are objects in the Test Model that interact with Collaborators in the System Model
- 20Which Design pattern is usually used for the mock object design?Factory pattern
- 21What can Mock objects be used for?- Testing state of individual objects and interaction between objects
- > Validates that the interactions of the SUT with its Collaborators behave as expected - 22What are the 4 parts of System Testing? Which aspects of the system does each part address?1. Functional Testing (Functional requirements)
2. Structure Testing (Subsystem Decomposition)
3. Performance Testing (Non-functional requirements)
4. Acceptance Testing (Clients expectations) - 23What is Continuous Integration?- Software development technique where members of a team integrate their work frequently (at least daily)
- Each integration is verified by an automated build which includes the execution of regression tests to detect integration errors as early as possible
Informationen
- Beschreibung
- Software Engineering Karteikarten am Rep Testing, erstellt von Maximilian Zeyda am 06/08/2017.
- Erstellt von
- Maximilian Zeyda
- Aufrufe
- 2
- Bewertung