Coder Social home page Coder Social logo

goos's Introduction

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

goos's People

Contributors

belano avatar lucaspwbx avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.