go-spec

module
v0.0.0-...-da1fc0e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2011 License: BSD-2-Clause

README

About Go-Spec

Go-Spec is another interpretation of RSpec for the Go language. It provides a behavior driven development (BDD) framework wrapping Gotest.

Go-Spec provides a package "spec" for writing descriptive tests in Go. It also provides a command line program gospec for running these tests. Doing these things, Go-Spec creates a thing wrapper over Go's "testing" package and gotest respectively.

Documentation

Prerequisites

Install Go.

Installation

See spec/ and gospec/

Examples

This is a "tutorial" project in examples/tutorial/. It's a program that does nothing but run Gospec on itself. But the tests describe and show the capabilities of Go-Spec. To run it

cd examples/tutorial
gomake

The program Gospec has its tests written using the "spec" package.

cd gospec
gospec -v

You can also look at the "spec" package

General Documentation

See spec/ and gospec/

Author

Bryan Matsuo bmatsuo@soe.ucsc.edu

Copyright (c) 2011, Bryan Matsuo. All rights reserved.

Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Directories

Path Synopsis
examples
tutorial command
The tutorial command does ....
The tutorial command does ....
tutorial/spec command
gospec
spec command
Package spec provides a flexible behavior-driven development (BDD) framework.
Package spec provides a flexible behavior-driven development (BDD) framework.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL