Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 2_Unit Testing Bots.md #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Labs/TestingHOLs/docs/2_Unit Testing Bots.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Import the EchoBot Solution in VisualStudio from code\EchoBot. On successful imp

## 3. Echobot

In this lab, we will use EchoBot to develop unit tests. EchoBot is a very simple bot that echos back to the user with any message typed. For example, if the user types "Hello", EchoBot responds with the message "You sent: Hello". The core of EchoBot code that uses Dialogs can be found below. MessageReceivedAsync echos back to the user with "You said:� "
In this lab, we will use EchoBot to develop unit tests. EchoBot is a very simple bot that echos back to the user with any message typed. For example, if the user types "Hello", EchoBot responds with the message "You sent: Hello". The core of EchoBot code that uses Dialogs can be found below. MessageReceivedAsync echos back to the user with "You said:�"

````c#
public class EchoDialog : IDialog<object>
Expand Down Expand Up @@ -67,4 +67,4 @@ A. Write another TestMethod called *EchoStartsWith* that verifies echo prompt

B. Can you verify that the echoed messages were sent by a bot?

*Hint:* This would involve checking the properties of IMessageActivity response recieved.
*Hint:* This would involve checking the properties of IMessageActivity response recieved.