test-framework icon indicating copy to clipboard operation
test-framework copied to clipboard

Assert gRPC calls

Open alexsnaps opened this issue 2 years ago • 7 comments

This is one of the two additions we've done to the framework: support asserting on gRPC calls Follow up would be reading properties: https://github.com/Kuadrant/wasm-test-framework/pull/1

alexsnaps avatar Aug 11 '23 10:08 alexsnaps

Ugh 🤦 I should test the stuff I cherry-pick from another branch... brb

alexsnaps avatar Aug 11 '23 11:08 alexsnaps

Yeah. I'll try to find something that avoids pulling things other than basic types tho, to avoid needing protoc - wdyt?

alexsnaps avatar Aug 11 '23 18:08 alexsnaps

Definitely! The simpler the better.

PiotrSikora avatar Aug 11 '23 18:08 PiotrSikora

FYI, I've added basic gRPC example in https://github.com/proxy-wasm/proxy-wasm-rust-sdk/pull/248.

PiotrSikora avatar Jul 13 '24 05:07 PiotrSikora

FYI, I've added basic gRPC example in proxy-wasm/proxy-wasm-rust-sdk#248.

Merged in #23. Could you add coverage for them in this PR? Thanks!

PiotrSikora avatar Aug 01 '24 16:08 PiotrSikora

@PiotrSikora thanks to @eguzki I think this has it all now, or do we miss anything?

alexsnaps avatar Dec 05 '24 15:12 alexsnaps

I would also add https://github.com/Kuadrant/wasm-test-framework/pull/6, as it supports assert on GRPC call errors and breaks backward compat regarding the API introduced in this PR.

eguzki avatar Dec 09 '24 09:12 eguzki