CS447 Lecture Notes - Lecture 1: Unit Testing, Domain-Driven Design, Osgi

13 views5 pages
16 Apr 2015
Course
Professor

Document Summary

We"ve seen implementation details of how to use junit to perform unit testing, and you should be able to generalize to other unit testing frameworks on your own. We will discuss principles behind unit testing and how and when to best deploy unit testing. The following concepts are related to unit testing: test-driven development1 (tdd), which is currently the most-advocated way to write unit tests; mock objects and dependency injection; and automation. We"ll work through an example, which includes mock objects and dependency injection. After that, we"ll talk a bit about mock objects and dependency injection in the abstract. We will examine some unit tests for apache cxf2, an open-source services framework. cxf has 725 les named *test. java which account for 125 kloc, and 3778 java les in all, with 500 kloc. In particular, we will investigate the osgidestination class, which belongs to the package org. apache. cxf. transport. http osgi, along with its associated test osgidestinationtest, also in the same package.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents