To test a function, what has to write a programmer, which calls the function to be tested and pass test data.



To test a function, what has to write a programmer, which calls the function to be tested and pass t..

Answer / Rinki Yadav

A programmer has to write a test script or test case that includes the function under test and the input (test data) to be passed. This script will run the function and compare the actual result with the expected output.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Testing AllOther Interview Questions

Hi can anyone pls let me know, how many test case can be written to this C question (Unit testing) *funame (Int x, Long b) { x=b; x < 5 } Note: - Return type is boolean - Input type is unsigned char

1 Answers   Infotech,


What is v- diagram (model)?

1 Answers  


Does anybody used Visio in QA.If so, can u please explain where and when u used visio diagrams

1 Answers  


Testing that checks that a modification applied during maintenance has NOT affected the code corresponding to those functions of the system that should be unaffected by the modification is called which one of the following? 1. Acceptance testing 2. Unit testing 3. Regression testing 4. Validation testing 5. System testing

5 Answers  


What the main use of preparing a traceability matrix?

2 Answers   TCS,


what is TRM?

3 Answers   MBT,


What are validation and verification?

1 Answers  


What is the step you would follow once you find the defect?

1 Answers  


can you tell me the correct process for creating automation frame work for project(key word driven framework)

1 Answers   Mind Tree,


why we go for winrunner and when we go for winrunner ?

2 Answers   CyberSoft,


generally what they ask in a client interview.regarding projects what they might ask?

2 Answers  


What is bottlenecks? Explain with example.

1 Answers  


Categories