Skip to content

bmatsuo/go-spec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 & License

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.

About

Another interpretation of RSpec for Go (golang)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages