Skip to content

Latest commit

 

History

History
25 lines (11 loc) · 640 Bytes

unit-testing-demo.md

File metadata and controls

25 lines (11 loc) · 640 Bytes

JUnit and Spock Unit Testing Demo

Introduction

This JUnit and Spock demo contains tests using both frameworks.

Building and Running the Demo

This example is built and run using the build tool, Gradle. At the root of the project, simply execute the command:

gradle test

to run the tests for this demo. Once completed, simply view the index.html file in /build/reports/tests folder. Just for fun, change one of the tests such that it fails and re-execute the tests to see what happens.

Enjoy!

Mike Redlich

redlich.net

[email protected]