Skip to content

Commit

Permalink
move integration tests into wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
yeastplume committed Feb 19, 2019
1 parent 84db578 commit b6b3318
Show file tree
Hide file tree
Showing 10 changed files with 2,731 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ env:

matrix:
include:
- os: linux
env: TEST_SUITE=integration
- os: linux
env: TEST_SUITE=config-libwallet-apiwallet
- os: linux
Expand Down
173 changes: 164 additions & 9 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ name = "grin-wallet"
path = "src/bin/grin-wallet.rs"

[workspace]
members = ["apiwallet", "config", "libwallet", "refwallet"]
members = ["apiwallet", "config", "integration", "libwallet", "refwallet"]

[dependencies]
clap = { version = "2.31", features = ["yaml"] }
Expand Down
40 changes: 40 additions & 0 deletions integration/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[package]
name = "grin_integration"
version = "1.1.0"
authors = ["Grin Developers <[email protected]>"]
description = "Simple, private and scalable cryptocurrency implementation based on the MimbleWimble chain format."
license = "Apache-2.0"
repository = "https://github.com/mimblewimble/grin"
keywords = [ "crypto", "grin", "mimblewimble" ]
workspace = ".."
edition = "2018"

[dependencies]
hyper = "0.12"
futures = "0.1"
http = "0.1"
itertools = "0.7"
lmdb-zero = "0.4.4"
rand = "0.5"
serde = "1"
log = "0.4"
serde_derive = "1"
serde_json = "1"
chrono = "0.4.4"
tokio = "0.1.11"
blake2-rfc = "0.2"
bufstream = "0.1"

grin_apiwallet = { path = "../apiwallet", version = "1.1.0" }
grin_libwallet = { path = "../libwallet", version = "1.1.0" }
grin_refwallet = { path = "../refwallet", version = "1.1.0" }
grin_wallet_config = { path = "../config", version = "1.1.0" }

grin_core = { git = "https://github.com/mimblewimble/grin", branch = "milestone/1.1.0" }
grin_keychain = { git = "https://github.com/mimblewimble/grin", branch = "milestone/1.1.0" }
grin_chain = { git = "https://github.com/mimblewimble/grin", branch = "milestone/1.1.0" }
grin_util = { git = "https://github.com/mimblewimble/grin", branch = "milestone/1.1.0" }
grin_api = { git = "https://github.com/mimblewimble/grin", branch = "milestone/1.1.0" }
grin_store = { git = "https://github.com/mimblewimble/grin", branch = "milestone/1.1.0" }
grin_p2p = { git = "https://github.com/mimblewimble/grin", branch = "milestone/1.1.0" }
grin_servers = { git = "https://github.com/mimblewimble/grin", branch = "milestone/1.1.0" }
21 changes: 21 additions & 0 deletions integration/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// Copyright 2019 The Grin Developers
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

//! Grin integration test crate

#![deny(non_upper_case_globals)]
#![deny(non_camel_case_types)]
#![deny(non_snake_case)]
#![deny(unused_mut)]
#![warn(missing_docs)]
Loading

0 comments on commit b6b3318

Please sign in to comment.