Join Anton Delsink for an in-depth discussion in this video Write test for use case 3, part of Object Oriented Programming with C#.
- [Instructor] Let's take a look at the list…of use cases at the top.…The next step is a user wants to view a feed.…So, content based on the users that are following.…Let's create a new test.…Go to the bottom of the file.…Use copy and paste.…Test method piece here at the top, 32, 33 and 34.…Go to the end of the class,…paste that in.…And so now we have a new test method,…003 for the third test case.…So, we have users creating content.…
We have users following other users.…Now we want to actually see a feed…which is a combination of content by other users.…To make this feasible, I need users and content…and a user following users with content.…So, I'm going to copy and paste most of the content…from the previous unit test.…So, all of the user creation…and all of the graph that follow method cause.…I'll say Control + C.…Come down to line 54.…Control + V.…So now in test 003,…we want user one to publish some content.…
I'll scroll all the way to the top…and in test 001, we'll copy the lines 23, 24 and 25.…Now we're saying, let's create a new content object…
- Abstract classes
- Processing text with StreamReader
- IEnumerable and yield return
- Windows Forms controls
- Windows Forms with and without the designer
- Adding, organizing, and testing forms
- Creating classes
Skill Level Intermediate
What you should know1m 10s
1. Theory vs. Practice
2. Examples from .NET
3. Examples from Windows UI
4. Examples from Board Games
5. Examples from the Web
Next steps1m 13s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.