Skip to content

Commit

Permalink
Cleanup, add notes
Browse files Browse the repository at this point in the history
  • Loading branch information
ivnsch committed Dec 8, 2021
1 parent 51dc7b3 commit 4d8f3b0
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 98 deletions.
16 changes: 12 additions & 4 deletions tests/features_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,24 @@ mod step_defs;

#[tokio::main]
async fn main() {
// algod feature: omitted, this tests v1 and we don't support it anymore
// integration::algod::World::run(integration_path("algod")).await;
// NOTE: we don't support algod v1 anymore
// features which depend completely on algod v1 are omitted

// ABI not supported yet
// integration::abi::World::run(integration_path("abi")).await;
// algod feature: omitted (algod v1)

// TODO abi feature: ABI not supported yet

integration::applications::World::cucumber()
.max_concurrent_scenarios(1)
.run(integration_path("applications"))
.await;

integration::applications::World::cucumber()
.max_concurrent_scenarios(1)
.run(integration_path("applications"))
.await;

// assets feature: omitted (algod v1)
}

fn integration_path(feature_name: &str) -> String {
Expand Down
29 changes: 0 additions & 29 deletions tests/step_defs/integration/abi.rs

This file was deleted.

62 changes: 0 additions & 62 deletions tests/step_defs/integration/algod.rs

This file was deleted.

3 changes: 2 additions & 1 deletion tests/step_defs/integration/applications.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ impl cucumber::World for World {

#[given(expr = "an algod client")]
async fn an_algod_client(_: &mut World) {
// do nothing - we don't support v1
// Do nothing - we don't support v1
// The reference (Go) SDK doesn't use it in the definitions
}

#[given(expr = "a kmd client")]
Expand Down
2 changes: 0 additions & 2 deletions tests/step_defs/integration/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
pub mod abi;
pub mod algod;
pub mod applications;

0 comments on commit 4d8f3b0

Please sign in to comment.