Spock - Document -01- introduction & Getting Started

Introduction

Peter Niederwieser, The Spock Framework TeamVersion 1.1

Spock is a testing and specification framework for Java and Groovy applications. What makes it stand out from the crowd is its beautiful and highly expressive specification language. Thanks to its JUnit runner, Spock is compatible with most IDEs, build tools, and continuous integration servers. Spock is inspired from JUnitjMockRSpecGroovyScalaVulcans, and other fascinating life forms.

Getting Started

Peter Niederwieser, The Spock Framework TeamVersion 1.1

It’s really easy to get started with Spock. This section shows you how.

Spock Web Console

Spock Web Console is a website that allows you to instantly view, edit, run, and even publish Spock specifications. It is the perfect place to toy around with Spock without making any commitments. So why not run Hello, Spock! right away?

Spock Example Project

To try Spock in your local environment, clone or download/unzip the Spock Example Project. It comes with fully working Ant, Gradle, and Maven builds that require no further setup. The Gradle build even bootstraps Gradle itself and gets you up and running in Eclipse or IDEA with a single command. See the README for detailed instructions.

上一篇:小试XML实体注入攻击


下一篇:win7环境下安装MongoDB