Integration Test Planning

2y ago
29 Views
3 Downloads
207.01 KB
23 Pages
Last View : 1m ago
Last Download : 3m ago
Upload by : Roy Essex
Transcription

Integration test planningTesting takes place throughout the software life cycle.Testing can apply to:¾design;¾source code;¾manuals; and¾tests themselves (choice of test data, etc.).Integration test planning is carried out during the design stage.An integration test plan is a collection of integration tests that focus onfunctionality.CS646: Software Design and Architectures

Bottom up integration testingThere are two basic approaches to integration testing:1.bottom up testing, and2.top down testing.Assume that detailed design consists of a collection of structure charts.Bottom up integration testing proceeds as follows.Unit test individual lowest level modules first. Lowest modules arecombined to form subsystems, the subsystems tested, and so on.NOTE: An artificial environment is necessary for each integration test;the environment consists of driver programs and test data, and is called atest harness.CS646: Software Design and Architectures

Bottom up integration testing: disadvantages¾ Must code and debug test harnesses (extra work).¾ There can be difficulty in combining subsystems and then testingthem. An extreme case: all modules united tested, then combinedtogether; this is called big bang integration testing.¾ It can be difficult to fully unit test a module. A more complex driveris usually necessary, which can further complicate finding the source oferrors.CS646: Software Design and Architectures

Top down integration testingModules at top of structure chart are tested first, starting with the mainor control modules.NOTE: For called modules not yet written, it is necessary to use stubs,i.e., simple dummy modules used to avoid linker errors.One therefore uses older more reliable modules to test new modules.There is little emphasis on unit testing, perhaps nothing beyondsuccessful compilation. Instead an integration test is used to test anygiven module.CS646: Software Design and Architectures

Process of designing integration tests1.Look at design plans.2.Decide on the functions to test.†3.Identify test threads and necessary scaffolding.4.Determine test data requirements.†Ournext subject is on estimating and scheduling. In determining the functions,one should try for the corresponding test threads that can be worked in inparallel by different test teams, hopefully without any necessary interaction.CS646: Software Design and Architectures

DefinitionsIntegration TestTests action of a group of modules accomplishing an identifiablefunction.Test ThreadA group of modules being tested.ScaffoldingSet of modules, stubs and possibly a test harness connected to the testthread, but not in the test thread.CS646: Software Design and Architectures

Hints and notes¾ Use earlier tests to provide scaffolding and data for later tests. Thissuggests one should test input first.¾ As new modules replace stubs, all or part of previous tests should berepeated to ensure no new errors. These are called regression tests.¾ Although top-down integration testing is usually preferable, it may notbe possible in some cases: Module groups performing complex tasks; or Need to test timing requirements (e.g., device drivers).For many cases, it is possible to isolate and fully test such subsystemsfirst. Thus, some combination of bottom up and top down testing isrequired; this is called sandwich testing.CS646: Software Design and Architectures

ExampleM1controlM2user interfaceM3query inputM6dispatchM4update inputM7query evaluationM5error controlCS646: Software Design and ArchitecturesM8summary statisticsM10data accessM9update evaluation

Test priority chartsImplies the following.1.IT1 before IT2 and IT3.2.IT1 in parallel to IT5.3.IT2 in parallel to IT3.4.IT2, IT3 and IT5 before IT4.5.All before IT6.IT1IT2IT3IT4IT6CS646: Software Design and ArchitecturesIT5

Further notes on integration test planning¾ Automated tools can aid in integration testing. Examples: test data generators; command language programs; development support libraries; etc.¾ Another factor which governs selection of test threads:module criticality;that is , module complexity and/or importance in the software system.Such modules should be tested as early as possible and included in manytest threads.CS646: Software Design and Architectures

More definitionsBuildThe task of coding and unit testing a collection of modules, stubs andtest harnesses.Build PlanA set of builds that include all modules, stubs and test harnesses used inan integration test plan.Implementation TaskEither a build or an integration test.Schedule Priority ChartRequires an integration test plan and a build plan. Corresponds to apriority chart that includes a node for each implementation task.CS646: Software Design and Architectures

EstimatingA large subject.Four general approaches.1.Expert judgment.2.Delphi cost estimation.3.Algorithmic methods.4.Work breakdown.For purposes of assignment two, use a combination of work breakdownand expert judgment, and assume you are the expert.CS646: Software Design and Architectures

Scheduling: Critical Path Method (CPM)Takes the following as input.1.A schedule priority chart.2.Estimates of how long each task in the schedule priority chart willtake.3.An assignment of each task to a programmer.4.An ordering on the tasks assigned to each programmer.Computes the following.1.Earliest start time of each task.2.Earliest completion time for all tasks.3.Slack time, the amount of time starting on a task can be delayedwithout affecting the earliest completion date.CS646: Software Design and Architectures

CPM: Notational convention for tasksa(task identifier)b(task duration)a (earliest possible start time of the task)b (latest possible start time of the task)†b – a (slack time for the task)†Withoutdelaying earliest completion time for all tasks.CS646: Software Design and Architectures

CPM: Representing ordering constraintsTo capture that task T2 must wait for the completion of task T1 beforestarting:T1T2orT1T2CS646: Software Design and Architectures

CPM CS646: Software Design and ArchitecturesIT5

CPM g ordering constraints)IT4IT6CS646: Software Design and ArchitecturesIT5

CPM (adding task durations)IT4IT6CS646: Software Design and ArchitecturesIT5

CPM 2IT1IT2IT3(calculating earliest start times)(calculating earliest completion time)IT4IT6CS646: Software Design and ArchitecturesIT5

CPM T60774152IT1IT2IT3(calculating latest possible start times)IT4IT6CS646: Software Design and ArchitecturesIT5

CPM T60774152IT1IT2Tasks on the critical path: IT4, IT5, IT3 and IT6.IT3IT4IT6CS646: Software Design and ArchitecturesIT5

Gantt charts: exampletime1234567John: IT1John: IT2Mary: IT3John: IT4Mary: IT5Mary: IT6CS646: Software Design and Architectures89 10 11 12 13 14 15 16 17 18 19 20

Gantt charts: notationearliest possible start time(overlay)slack timedurationCS646: Software Design and Architectures

Integration test planning is carried out during the design stage. An integration test plan is a collection of integration tests that focus on functionality. CS646: Software Design and Architectures Bottom up integration t

Related Documents:

Integration EMR/EHR Integration "Healthcare data exchange platform" "Data extraction and interoperability" "Data integration for healthcare" "EHR-specific, cloud-based interface engine" "EHR integration and third-party developer marketplace" "EMR integration to software products" "Specific EHR integration for HL7

Integration from SAP Ariba Different integration options 1. Ariba Network integration -Standard integration between SAP S/4HANA and SAP ERP with Ariba Network solutions 2. SAP Ariba Applications integration -Standard integration between SAP S/4HANA OP and SAP ERP with SAP Ariba Applications that cover the entire source-to-settle process 3.

of duration is called Aggregate Planning as obvious from the following diagram. Planning process Long range planning ( strategic planning)(for 1-5 years of duration) Intermediate range planning ( aggregate planning)(for 3-12 months) Short term planning (for scheduling and planning for day to day shop floor activities). (for 1-90 days)

4. 12 Meter (40') Drop Within Test 5. Fast Cook-Off Within Test 6. Slow Cook-Off Within Test 7. Bullet Impact Within Test 8. Fragment Impact Within Test 9. Sympathetic Detonation Within Test 10. Shaped Charge Jet Impact Within Test 11. Spall Impact Within Test 12. Specialty Within Test 13. Specialty Within Test 14. Specialty Within Test 15 .

output of this process is the test plan. This whitepaper discusses test planning as part of scrum, a popular agile methodology. As part of the paper, we discuss test planning and scrum in general, and then testing methodologies and test planning particular to scrum. Test Plan What is

Test: Talend Integration Cloud Cloud-based data integration solution with high-performance development environment Dr. Götz Güttich With the Talend Integration Cloud, Talend provides a secure Cloud-based integration platform with which users are given the ability to connect their applications with one another in the Cloud or on premises and .

Some Types of Testing User Acceptance Test: Test according to specification or requirement. Functional Test: Test one function (or feature) expected output. Unit Test: Test the smallest "unit" of testable code (in isolation). Integration Test: Test the interaction of "units" in 1 or more systems. Behavioral Test: Automated UAT or black box testing.

Adventure tourism is a “ people business ”. By its very nature it involves risks. Provid-ers need to manage those risks, so partici-pants and staff stay safe. The consequences of not doing so can be catastrophic. ISO 21101 : Adventure tourism – Safety management systems – A practical guide for SMEs provides guidance for small businesses to design and implement safety management systems .