πŸŽ“ Computer Science & Engineering Portal

Master Engineering Disciplines with Structured Notes

Comprehensive academic lecture notes, exam-oriented unit summaries, laboratory manuals, and previous year question papers designed strictly for university students.

πŸ“‘

University Syllabi

AKTU & AICTE aligned semester guidelines.

πŸ“

Exam Question Papers

Previous 5 years solved university papers.

πŸ’‘

Lab Manuals & Viva

Practical codes with outputs & interview Qs.

Core Subjects & Units Hub

Click on any specific unit to immediately view its lecture notes below

Viewing All Lectures

Test Drivers and Test Stubs

Test  Drivers  and  Test  Stubs:

Driver is a sample main program that accepts test case data,passes such data to the component being tested,and prints the returned results.

  • The Drivers establish the test environments and takes care of the communication, estimates results, and also sends the reports.
  • These are just like stubs and used by software test engineers in order to accomplish the missing or incomplete modules/ components requirements.
  • The drivers are mainly developed in the Bottom-up approach of incremental integration testing.
  • Generally, drivers are bit complex as compared to the stubs.

 

Stub is serve to replace modules that are subordinate to the component to be tested

It uses the module’s exact interface,may do minimal data manipulation,provides verification of entry and returns control to the module undergoing testing.

  • A stub is a replica of a module that collects the data and develops many possible data. However, it executes like an actual module and is mainly used to test modules.
  • Generally, stubs are created by software developers in order to use them instead of modules if the particular modules are miss or not yet developed.

Labels: ,

Discussion & Queries (<$I18NNumComments$>):

<$CommentPager$>
<$I18NAtCommentTimeWithPermalink$>, <$I18NCommentAuthorSaid$>

<$BlogCommentBody$>

<$BlogCommentDeleteIcon$>
<$CommentPager$>