Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

belano/goos

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goos

Growing Object-Oriented Software Guided by Tests - Coding along the lines of the book’s example.

This project follows the example developed in the book Growing Object-Oriented Software Guided by Tests by Steve Freeman and Nat Pryce.

Prerequisites

The book’s example code needs a JDK version 8 or higher. All further java dependencies are managed by Maven.

Prior to running integration tests, a docker image needs to be built locally - the bash script docker-openfire/build_image.sh does that for you, it creates a Docker image goos-openfire that installs and configure an Openfire server.

Integration tests rely on the existence of the aforementioned image and make use of Testcontainers library which provides throwaway instances of Openfire.

Build and run all Tests

The build distinguishes between two different kinds of tests:

  • Unit tests: fast running tests. They are executed using:

    ./mvnw test
  • Integration tests: Acceptance tests that once have driven development and now have to stay stable. They are designed to be as much end-to-end as possible, drive the UI directly and go through the whole stack, down to the Openfire chat server. They are run with the command:

    ./mvnw verify

About

Growing Object-Oriented Software Guided by Tests - Coding along the lines of the book’s example

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.