googleapis / sample-tester

Tool for testing semantically equivalent samples in multiple languages and environments
Apache License 2.0
10 stars 12 forks source link

Feature Request: fail() and abort() #146

Open beccasaurus opened 5 years ago

beccasaurus commented 5 years ago

Hey there!

I enjoy using assert_that(), but sometimes I just know I need to abort() and I would like to provide a message which is output.

vchudnov-g commented 5 years ago

The functions fail and abort are available within code: directives. See the doc.

I'll keep this issue to make them accessible directly via their own YAML directives.

Patil2099 commented 5 years ago

@vchudnov-g Can I work on this issue? Can you please help me a little bit? Thanks!