Giter VIP home page Giter VIP logo

testing-workshop's Introduction

testing-workshop Build Status

DRAFT

Summary

A series of exercises to illustrate testing. This workshop will take you on a journey to improve a small application that was built without testing in mind. Each exercise is in its own branch and is called a chapter. The README.md file in each chapter contains a situation description and a mission for you to do, should you choose to accept it. Successive chapters contain a solution to the previous chapter. This is not a test and there are no right answers. For now, we are just covering the basics of testing and refactoring.

Exercise Build Status

branch status description
chapter1 Build Status Write your first test and execute it locally. Learn how to do a PR.
chapter2 Build Status Get your CI system to run your test, does it work? If not, fix it.
chapter3 Build Status Measure and increase code coverage.
chapter4 Build Status Extract code from main() method.
chapter5 Build Status Extract parsing functionality.
chapter6 Build Status Write first unit tests.
chapter7 Build Status Extract report functionality using interfaces.
chapter8 Build Status Write unit tests for reports.
chapter9 Build Status Asserting on System.out.
chapter10 Build Status Simple dependency injection.
chapter11 Build Status Mocking dependencies in the unit tests.
chapter12 Build Status Assert on only the functionality of the class under test.
chapter13 Build Status Complete the mocking for a fully isolated test.
chapter14 Build Status Using AssertJ for fluent assertions.
chapter15 Build Status Basic test-driven development by implementing a new requirement
chapter16 Build Status The final solution

testing-workshop's People

Contributors

the-james-burton avatar

Watchers

James Cloos avatar  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.