Question

Directions: C++. Answer the question below in paragraph format. Many people think of programming as simply...

Directions: C++. Answer the question below in paragraph format.

Many people think of programming as simply writing the code. By now, you have seen that design of the program is an important part of programming. Design is one of the initial steps in creating a program. Testing is part of the final steps in programming. There are many different forms of testing. Compare and contrast the testing concepts of Unit Testing or Integration testing.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The idea behind Unit Testing is to test each part of the program and show that the individual parts are correct. It can be performed at any time. Unit Testing tests only the functionality of the units themselves and may not catch integration errors, or other system-wide issues. It pays attention to the behavior of single modules. Unit test does not verify whether your code works with external dependencies.correctly.  It is usually executed by developer. Finding errors are easy. Maintenance of unit test is cheap.

Consider You are developing An application for Airline

which has following functonalalities :-

  • Add a flight
  • Remove a flight
  • Search the flight based on flight number
  • Search the flight based on departure city
  • Sort According to the Least Fair
  • Update the flight Details

so you will write different unit test cases for all the functionalities or modules, all are independent of each other. so there will be six unit test cases in these example. You will only check if the particular functionality is working or not.

On the other hand The idea behind Integration Testing is to combine modules in the application and test as a group to see that they are working fine. It usually carried out after Unit Testing and before System Testing. Integrating testing may detect errors when modules are integrated to build the overall system. It pays attention to integration among modules. Integration tests verifies that your code works with external dependencies correctly. it is usually executed by test team. Finding errors are difficult. Maintenance of integration test is expensive.

Add a comment
Know the answer?
Add Answer to:
Directions: C++. Answer the question below in paragraph format. Many people think of programming as simply...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Instructions: Quite often, I have heard many people say that "a managers job is simply to...

    Instructions: Quite often, I have heard many people say that "a managers job is simply to tell people what to do." I sometimes wonder if that is true! Hey, I just thought of a great idea. Instead of just wondering if that statement has any validity to it, let's just ask a manager. Your task for this week is to interview a manager.  It can be a present or past manager or someone whom you have never worked with. You may...

  • Using C programming language Question 1 a) through m) Exercise #1: Write a C program that...

    Using C programming language Question 1 a) through m) Exercise #1: Write a C program that contains the following steps (make sure all variables are int). Read carefully each step as they are not only programming steps but also learning topics that explain how functions in C really work. a. Ask the user for a number between 10 and 99. Write an input validation loop to make sure it is within the prescribed range and ask again if not. b....

  • Directions What is a research proposal? The purpose of a research proposal is to identify and...

    Directions What is a research proposal? The purpose of a research proposal is to identify and formulate questions that arise from nursing practice and to design a research project to study the identified problem. The goal of a research proposal is to present and justify a research idea you have and to present the practical ways in which you think this research should be conducted. Research proposals contain extensive literature reviews and must provide persuasive evidence that there is a...

  • //I NEED THE PROGRAM IN C LANGUAGE!// QUESTION: I need you to write a program which...

    //I NEED THE PROGRAM IN C LANGUAGE!// QUESTION: I need you to write a program which manipulates text from an input file using the string library. Your program will accept command line arguments for the input and output file names as well as a list of blacklisted words. There are two major features in this programming: 1. Given an input file with text and a list of words, find and replace every use of these blacklisted words with the string...

  • Advanced Object-Oriented Programming using Java Assignment 4: Exception Handling and Testing in Java Introduction -  This assignment...

    Advanced Object-Oriented Programming using Java Assignment 4: Exception Handling and Testing in Java Introduction -  This assignment is meant to introduce you to design and implementation of exceptions in an object-oriented language. It will also give you experience in testing an object-oriented support class. You will be designing and implementing a version of the game Nim. Specifically, you will design and implement a NimGame support class that stores all actual information about the state of the game, and detects and throws...

  • Question 12 parts a,b,c Q12. Using the information provided below on ELISA, answer the following questions...

    Question 12 parts a,b,c Q12. Using the information provided below on ELISA, answer the following questions system to recognize an infectious and in Background While antibodies are used by the immune system to recognize scientists also use antibodies for a myriad of laboratory and the body, scientists also use antibodies for a agent in assays. If a scientist aims to identify a specific protein or mal y and clinical heterogeneous mixture such as a cell lysate or blood e such...

  • JAVAFX ONLY PROGRAM!!!!! SORTING WITH NESTED CLASSES AND LAMBDA EXPRESSIONS. DIRECTIONS ARE BELOW: DIRECTIONS: The main...

    JAVAFX ONLY PROGRAM!!!!! SORTING WITH NESTED CLASSES AND LAMBDA EXPRESSIONS. DIRECTIONS ARE BELOW: DIRECTIONS: The main point of the exercise is to demonstrate your ability to use various types of nested classes. Of course, sorting is important as well, but you don’t really need to do much more than create the class that does the comparison. In general, I like giving you some latitude in how you design and implement your projects. However, for this assignment, each piece is very...

  • LAB PROMPT: Lab 07 Hello future bakers and artisans of the fine gourmet. You love to...

    LAB PROMPT: Lab 07 Hello future bakers and artisans of the fine gourmet. You love to throw parties, and what goes better at a party than cake! The problem is that you only have enough flour to bake a limited number of cakes. In this lab, you will write a small program to figure out if you have enough flour to bake the number of cakes needed for the people attending. Step 1 - using final At the top of...

  • 1. For this question, you will review a process, identify problem areas ( such as wastes,...

    1. For this question, you will review a process, identify problem areas ( such as wastes, cycle time inefficiencies, etc), and suggest an improved process. the document which describes the process steps in words and also includes a process map as a visual tool for understanding what's going on in each step. You will need to respond to the following three sub-questions: A. Of the 9 process steps in the Process Improvement (Final Q 1) document, which specific steps in...

  • RRM # 2 (ends at for organization, and they force their ideas to fit it. Along...

    RRM # 2 (ends at for organization, and they force their ideas to fit it. Along the way, their perfectly good ideas get mangled or lost). Purple # 2 1. Create a simple outline of the bulleted points. RRM # 3(ends at it doesn't begin to explore how or why something happened.) Purple # 3 2. Does this relate to you? Do you write like this? 3. Predict what will come next. RRM # 4 (ends at opened are, in...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT