Skip to content

Small example how to do UnitTesting with Spock-Testingframework.

Notifications You must be signed in to change notification settings

StefanHufschmidt/SpockExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spock Example

This repository contains a small example how to use Spock. Spock is a Groovy based testing framework which can easily be used to test Java code.

What is covered by this example?

  • Simple Unit tests containing different requirements such as:
    • Normal Unit tests
    • Parameterized Testing (with one or more parameters)
    • Testing Exceptions
    • Testing private methods

Contribute

If you would like to add something feel free to do so. But please use a different git-branch as the 'master'-branch and open a Pull-Request for any changes.

Author

Stefan Hufschmidt

About

Small example how to do UnitTesting with Spock-Testingframework.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published