|
View Module
An error occurred while attempting to get the requested module. Cannot open database "AspNetForums" requested by the login. The login failed.
Login failed for user 'swenet'. at AspNetForums.Data.SqlDataProvider.GetRatingForUser(String username, Int32 parentID)
at AspNetForums.Ratings.GetRatingForUser(String username, Int32 parentID)
at SwenetDev.ModuleRatingsControl.getRatingForUser(String username, ModuleRatingInfo ratingInfo)
at SwenetDev.viewModule.Page_Load(Object sender, EventArgs e)
General Information
Test Driven Development and Mock Observers |
Version
1
, submitted by
wellington
on
10/20/2005
at
10:23 PM
View Revision History |
wellington.2005.1 |
The goal of this lab is for the students to practice test driven development activities. The language is Java and the test environment is JUnit, but is generalizable to other languages/tools. In this lab, the students use TDD to extend two classes which are related by the Observer design pattern. This requires the development of a relatively simple mock object, but is a good introduction to TDD and mock objects. |
Lab: 2 hours
|
|
SEEK Categories
-
Process implementation (PRO.imp)
Authors
-
Carol Wellington
Prerequisites
-
java programming and automated unit testing in a framework like JUnit
Learning Objectives
-
Application
-
The student should be able to demonstrate test driven development strategies including the use of mock objects
Topics
-
automated unit testing
-
mock objects
-
Test driven development
Materials
-
Lab instructions
(HTM)
0.00/5
[Rate Material]
-
Source code to start lab
(Winzip)
0.00/5
[Rate Material]
See Also...
No alternate modules.
Other Resources
No resources.
Ratings
Log in to
rate this module.
Discussions
Discuss this module in the forums.
Related Modules
|