integration: Initial implementation.

This introduces a new package to house tests which use the rpctest
package to programmatically drive end-to-end integration testing and
move the existing RPC integration tests into the new package.
This commit is contained in:
Dave Collins 2016-08-28 17:54:36 -05:00
parent 70db324663
commit c0def9d613
No known key found for this signature in database
GPG key ID: B8904D9D9C93D1F2
3 changed files with 23 additions and 1 deletions

14
integration/README.md Normal file
View file

@ -0,0 +1,14 @@
integration
===========
[![Build Status](http://img.shields.io/travis/btcsuite/btcd.svg)]
(https://travis-ci.org/btcsuite/btcd) [![ISC License]
(http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org)
This contains integration tests which make use of the
[rpctest](https://github.com/btcsuite/btcd/tree/master/rpctest) package to
programmatically drive nodes via RPC.
## License
This code is licensed under the [copyfree](http://copyfree.org) ISC License.

8
integration/main.go Normal file
View file

@ -0,0 +1,8 @@
// Copyright (c) 2016 The btcsuite developers
// Use of this source code is governed by an ISC
// license that can be found in the LICENSE file.
package integration
// This file only exists to prevent warnings due to no buildable source files
// when the build tag for enabling the tests is not specified.

View file

@ -5,7 +5,7 @@
// This file is ignored during the regular tests due to the following build tag.
// +build rpctest
package main
package integration
import (
"bytes"