Add assert_contains() as a new assertion#19
Conversation
|
@ztombol Ping. Any interest in merging this? |
|
Sorry, I have a huge backlog. I'll take a look at it this or next weekend. 🙇 PS: Thanks for the medium article. 😄 |
|
No worries! No desperate hurry, just trying to make sure it doesn't stall. Thanks for the testing tools 😄 |
|
@ztombol any thoughts on this? |
|
Have you seen the "new" --partial and --regex matching options to the https://github.com/ztombol/bats-assert#partial-matching and https://github.com/ztombol/bats-assert#regular-expression-matching These options probably post-date this PR, but curious if they solve your use cases? |
|
I haven't used bats for anything any time recently, so I'm not sure I'm afraid! The only clear difference is that you can assert on things other than command output, but depends how valuable that is to people. I'll leave this open, feel free to merge or close as you like. |
Extract assertions to separate files
No description provided.