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:
parent
70db324663
commit
c0def9d613
3 changed files with 23 additions and 1 deletions
14
integration/README.md
Normal file
14
integration/README.md
Normal 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
8
integration/main.go
Normal 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.
|
|
@ -5,7 +5,7 @@
|
||||||
// This file is ignored during the regular tests due to the following build tag.
|
// This file is ignored during the regular tests due to the following build tag.
|
||||||
// +build rpctest
|
// +build rpctest
|
||||||
|
|
||||||
package main
|
package integration
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
Loading…
Reference in a new issue