Skip to content

Should I be doing "Higher Order Assertions"? #1238

Closed Answered by ncphillips
ncphillips asked this question in Q&A
Discussion options

You must be logged in to vote

So I started digging into the code and I learned some things.

This feature is called "Higher Order Assertions". It seems like it's pretty well supported (or at least there's tests and things)

I went to try and write this test:

expect($timer)->isRunning();

And it said it wasn't running any assertions.

That's weird, cause I swear I've seen this fail if isRunning returned false multiple times. Oh well.

My questions are resolved here

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ncphillips
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant