How do you test your code?

Answer Posted / lucy

1. Make sure outputs meet spec (by design)
2. Make sure the code can handle all posible inputs
3. Make sure the code has proper error handling
4. Test the time takes to get output (Does it meet
performance requirement)
5. Test how much CPU and memory it use
6. Test other possible factors may affect output(like
network issue, etc)

Is This Answer Correct ?    14 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are multiple inheritances (virtual inheritance)?

584


When is the destructor called?

604


What is endl c++?

604


Why is null pointer used?

679


What is a tuple c++?

542






Why would you use pointers in c++?

623


What is the this pointer?

633


What is a manipulative person?

540


What is the difference between #import and #include in c++?

594


What is jump statement in C++?

615


Differentiate between late binding and early binding. What are the advantages of early binding?

580


What is a dangling pointer in c++?

654


What is the use of seekg in c++?

596


What is virtual destructor ans explain its use?

602


What is the use of endl in c++ give an example?

612