Skip to content

Make Unit Test Assertions return their expression #767

Closed
wants to merge 13 commits into from

3 participants

@coogle
coogle commented Dec 26, 2012

This is a PR to make unit tests return their expression, allowing you to do things like

if($this->assertTrue($something)) {
     $this->assertFalse($somethingElse)
}
coogle and others added some commits Dec 19, 2012
@coogle coogle Modifying Collection and Entity so that you can pass in $options if y…
…ou so desire. This allows you to

for example pass in custom data handlers if desired for specific object handling when calling Entity->data()
348231d
@coogle coogle Making Unit return the value of the asserted Expresion consistently d68aebe
@coogle coogle Revert "Modifying Collection and Entity so that you can pass in $opti…
…ons if you so desire. This allows you to"

This reverts commit 348231d.
f4586af
@coogle coogle Merge remote-tracking branch 'upstream/dev' into dev aafe115
@gwoo gwoo Merge pull request #768 from coogle/return-asserts
Making Unit return the value of the asserted Expresion consistently
204b797
@coogle coogle Modifying Collection and Entity so that you can pass in $options if y…
…ou so desire. This allows you to

for example pass in custom data handlers if desired for specific object handling when calling Entity->data()
f64f69c
@coogle coogle Revert "Modifying Collection and Entity so that you can pass in $opti…
…ons if you so desire. This allows you to"

This reverts commit 348231d.
2a405a0
@coogle coogle Merge branch 'dev' of https://github.com/coogle/lithium into dev 884f663
@coogle coogle Modifying Collection and Entity so that you can pass in $options if y…
…ou so desire. This allows you to

for example pass in custom data handlers if desired for specific object handling when calling Entity->data()
586fd74
@coogle coogle Revert "Modifying Collection and Entity so that you can pass in $opti…
…ons if you so desire. This allows you to"

This reverts commit 348231d.
8f3f977
@coogle coogle Modifying Collection and Entity so that you can pass in $options if y…
…ou so desire. This allows you to

for example pass in custom data handlers if desired for specific object handling when calling Entity->data()
9165efc
@coogle coogle Revert "Modifying Collection and Entity so that you can pass in $opti…
…ons if you so desire. This allows you to"

This reverts commit 348231d.
b59a241
@coogle coogle Merge branch 'dev' of https://github.com/coogle/lithium into dev abd9916
@nateabele nateabele closed this Dec 26, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.