This course will be retired on July 14, 2025.
Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Unit Testing in C#!
You have completed Unit Testing in C#!
Preview
This course on unit testing is finished, but there's always more to learn!
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
Wow!
0:01
Who knew that testing was such
a big an interesting topic.
0:01
This has just been an introduction.
0:05
We saw some examples of how to use the
xUnit.net framework to write unit tests.
0:07
There's actually a lot more to xUnit
than we've been able to cover here.
0:12
You've learned the basics in this course,
but I encourage you to learn more about it
0:16
to see how it can help improve
your unit testing experience.
0:21
Using all of the features of a great
framework, like xUnit, can greatly reduce
0:25
the amount of time and effort spent
writing and maintaining your tests.
0:29
You can further expand your tool
set by using a mock framework,
0:34
code coverage tools, and
more advanced test runners.
0:38
As we've seen, unit testing is just
0:42
one step in the process of creating
high quality bug free software.
0:44
As a developer, it may be the most
effective tool in your tool belt.
0:49
It takes a bit of time to do, but
time spent unit testing always pays off.
0:53
With test driven development,
0:58
we've seen that testing doesn't have
to be a distraction from writing code.
0:59
It can actually help us
to write correct code so
1:03
that we can move forward with confidence.
1:06
In my experience, writing unit tests
can be both challenging and fun.
1:09
I hope you've enjoyed this course.
1:13
Until next time, happy testing.
1:15
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up