Skip to content

Commit

Permalink
feat: add option to generate JUnit XML report format for consumption …
Browse files Browse the repository at this point in the history
…by CI servers #257
  • Loading branch information
rholshausen committed Mar 1, 2023
1 parent 80ec8f1 commit c9333f9
Show file tree
Hide file tree
Showing 12 changed files with 367 additions and 150 deletions.
127 changes: 102 additions & 25 deletions rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions rust/pact_ffi/src/models/iterators.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ ffi_fn! {
.ok_or(anyhow::anyhow!("iter past the end of messages"))?;
message as *mut Message
} {
ptr::null_mut_to::<Message>()
std::ptr::null_mut()
}
}

Expand Down Expand Up @@ -119,7 +119,7 @@ ffi_fn! {
.ok_or(anyhow::anyhow!("iter past the end of messages"))?;
message as *mut SynchronousMessage
} {
ptr::null_mut_to::<SynchronousMessage>()
std::ptr::null_mut()
}
}

Expand Down Expand Up @@ -180,7 +180,7 @@ ffi_fn! {
.ok_or(anyhow::anyhow!("iter past the end of the list"))?;
interaction as *mut SynchronousHttp
} {
ptr::null_mut_to::<SynchronousHttp>()
std::ptr::null_mut()
}
}

Expand Down
1 change: 1 addition & 0 deletions rust/pact_verifier/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ tracing = "0.1.37" # This needs to be the same version across all the libs (i.e.
tracing-core = "0.1.30" # This needs to be the same version across all the pact libs (i.e. plugin driver and pact ffi)
url = "2.3.1"
humantime = "2.1.0"
junit-report = "0.8.2"

[dependencies.reqwest]
version = "0.11.12"
Expand Down
Loading

0 comments on commit c9333f9

Please sign in to comment.