Godog - приёмочные тесты по-человечески (форк https://github.com/cucumber/godog)
Найти файл
2015-06-23 14:26:30 +03:00
cmd/godog test suite scenario runner 2015-06-19 11:51:35 +03:00
example update installation details in readme 2015-06-23 14:10:04 +03:00
features support scenario outline with example table 2015-06-22 17:23:10 +03:00
gherkin update readme with more godog details 2015-06-23 14:26:30 +03:00
.gitignore add an ls feature example 2015-06-23 13:51:45 +03:00
.travis.yml reorganize files, move formatter to separate file 2015-06-18 09:11:40 +03:00
arguments.go add an ls feature example 2015-06-23 13:51:45 +03:00
builder.go add an ls feature example 2015-06-23 13:51:45 +03:00
config.go simplify gherkin ast, since it is only one level deep token list 2015-06-19 09:37:32 +03:00
fmt.go add an ls feature example 2015-06-23 13:51:45 +03:00
fmt_pretty.go add an ls feature example 2015-06-23 13:51:45 +03:00
fmt_progress.go progress formatter 2015-06-22 22:30:53 +03:00
fmt_test.go support scenario outline with example table 2015-06-22 17:23:10 +03:00
godog.go update readme with more godog details 2015-06-23 14:26:30 +03:00
LICENSE give a project name 2015-06-10 16:15:01 +03:00
README.md update readme with more godog details 2015-06-23 14:26:30 +03:00
suite.go add an ls feature example 2015-06-23 13:51:45 +03:00
suite_test.go simplify suite event contracts 2015-06-22 17:42:15 +03:00
utils.go add an ls feature example 2015-06-23 13:51:45 +03:00

Build Status GoDoc

Godog

Godog is an open source behavior-driven development framework for go programming language. What is behavior-driven development, you ask? Its the idea that you start by writing human-readable sentences that describe a feature of your application and how it should work, and only then implement this behavior in software.

The project is inspired by behat and cucumber and is based on cucumber gherkin specification.

Godog does not intervene with the standard go test command and it's behavior. You can leverage both frameworks to functionally test your application while maintaining all test related source code in _test.go files.

Godog acts similar compared to go test command. It builds all package sources to a single main package file and replaces main func with it's own and runs the build to test described application behavior in feature files. Production builds remains clean without any overhead.

Install

go get github.com/DATA-DOG/godog/cmd/godog

Documentation

See godoc and gherkin godoc for general API details. See .travis.yml for supported go versions.

The public API is stable enough, but it may break until 1.0.0 version, see godog --version.

Contributions

Feel free to open a pull request. Note, if you wish to contribute an extension to public (exported methods or types) - please open an issue before to discuss whether these changes can be accepted. All backward incompatible changes are and will be treated cautiously.

License

All package dependencies are MIT or BSD licensed.

Godog is licensed under the three clause BSD license