Sources and docs for a simple refactoring and OO design exercise
Java Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.settings Prep for XP2014 May 28, 2014
doc Update title page Nov 19, 2014
script Restored smtp-based AT Nov 19, 2014
src Restored smtp-based AT Nov 19, 2014
.classpath Restored smtp-based AT Nov 19, 2014
.gitignore Reorganized dir structure. Improved README May 13, 2014
.project Prep for XP2014 May 28, 2014
README.md Improved README May 13, 2014
employee_data.txt Prep for XP2014 May 28, 2014
pom.xml restored pom Nov 19, 2014

README.md

What's this?

This is a simple refactoring exercise that is meant to teach something about dependency inversion and dependency injection.

The documentation is in this blog bost and in the presentation in the doc directory.

Setup

To import the project in Eclipse: select

File -> Import -> Existing Project into Workspace

To import the project in Idea: run

mvn idea:idea

How to start

Run all the tests. One test will fail. Change production code so that all tests pass.

How to continue

Read the blog post and/or the included presentation.

Notes for Windows

On Windows, the tests with the fake smtp server do not work. If you are on Windows, then comment or delete the AcceptanceTest.java file. If you are on Linux, Mac or other Unix, then delete the AcceptanceForWindowsTest.java