Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. A Test Driven Development Example Assume that we are building a new application, and one of the modules will provide message processing. We are

image text in transcribed
3. A Test Driven Development Example Assume that we are building a new application, and one of the modules will provide message processing. We are not sure of the complete functionality needed, but we are sure that we need to be able to send and receive messages, and further, that the messages will consist of a variable number of 32 bit integer values. We will first create a simple C#header file and define a procedure to send messages, and a procedure to receive messages. It might look like the following: // Message.h bool Send_Message(MessageldType Message_Id, Byte Stream & MessageData, MessageSizeType MessageSize); bool Receiv_Message(MessageldType & Message Id, ByteStream &MessageData, MessageSizeType & MessageSize) Now rather than go forward with the implementation details of these procedures as the next step, please start a brain storm with your friends to generate test cases for these two procedures. List design details and the edge conditions before we implement our test cases. 3. A Test Driven Development Example Assume that we are building a new application, and one of the modules will provide message processing. We are not sure of the complete functionality needed, but we are sure that we need to be able to send and receive messages, and further, that the messages will consist of a variable number of 32 bit integer values. We will first create a simple C#header file and define a procedure to send messages, and a procedure to receive messages. It might look like the following: // Message.h bool Send_Message(MessageldType Message_Id, Byte Stream & MessageData, MessageSizeType MessageSize); bool Receiv_Message(MessageldType & Message Id, ByteStream &MessageData, MessageSizeType & MessageSize) Now rather than go forward with the implementation details of these procedures as the next step, please start a brain storm with your friends to generate test cases for these two procedures. List design details and the edge conditions before we implement our test cases

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Handbook Of Database Security Applications And Trends

Authors: Michael Gertz, Sushil Jajodia

1st Edition

1441943056, 978-1441943057

More Books

Students also viewed these Databases questions

Question

3. Define the roles individuals play in a group

Answered: 1 week ago