What is component testing | David Tzemach

DavidTzemach 992 views 15 slides May 16, 2017
Slide 1
Slide 1 of 15
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15

About This Presentation

overview
WHAT IS INTEGRATION COMPONENT TESTING?
TIME TO EXECUTE
The testing process


Slide Content

What is Component Testing ? David Tzemach www.machtested.com May 16 2017

Agenda overview WHAT IS INTEGRATION COMPONENT TESTING? TIME TO EXECUTE the testing process

What is component testing?

overview Component (Module) testing relates to the Black-Box test techniques which are performed by the QA/Dev team (Depends on the SDLC strategy), this method of testing is used to execute tests on an isolated component of the application (Each component is tested without integration to another one ). Component tests are done to validate (using real testing data instead of fabricated data as generated in to execute Unit tests) all major functionalities of each component, during this tests, defects are found and fixed to improve the stability of the code prior to the start of the integration phase.

examples Let’s assume that we want to test a web application, the component that we will use is the “Log-In” page, that is separated from the other components We will execute security tests such SQL injection. We will test the user interface for accessibility . We will test both Negative and positive inputs . we will test the incorrect password mechanism when the user inserts an incorrect password multiple times . We will test the user interface for usability. We will test all major functionalities . We will test the page performance We will validate that the password is not saved in the browser cache.

What is integration component testing?

Integration component testing Another related term that you may encounter is “component integration testing”, this testing approach is used to test the integration between two or more components, the tests are executed after the testing of each individual component. This type of testing is used to make sure that the communication and interaction between two or more components is done without any errors or failures based on the preliminary flow design.

Time to Execute

When should we run component testing? Prior to component testing, the application is built from a set of Units that combined together (Set of interacting units) to create a system module, as such, development will make the first testing task in the SDLC (Unit Tests), when the tests are approved, a new module is constructed and can be delivered to QA for testing (Component Tests).    [Unit tests] --  [Component Tests]  -- [Integration Tests]

The testing process

Phase 1: Requirements and Specifications This is the first and the most important activity, during this phase, we will allocate, review and analyze the component requirements and specifications . These activities will allow us to understand the risks, demands, and expectations from the testing process.

Phase 2: determine the test strategy Just like any other testing process, we need to determine the testing strategy and planning that we’re going to use and based during the testing cycles, this strategy should include a few basic sections: Designing the test cases (Positive and Negative ). Determine the test technique that we will use (Equivalence partitioning, Boundary Value Analysis …). Ares that are excluded from testing. Testing Tools that we intend to use . Testing Entry and Exit criteria. Test timelines and resources. Environment to be used . Test priority.

Phase 3: test execution activities The tests are executed, Defects are opened/Fixed and the test team validates that the component is ready for the integration phase.

Phase 4: Test summary The test results are reviewed and validated against the test completion criteria to check if further testing is needed.

For additional Kb’s please visit my blog www.machtested.com