mirror of
https://github.com/pestphp/pest.git
synced 2026-03-11 18:27:23 +01:00
Add tests to ensure working.
This commit is contained in:
@ -4,4 +4,8 @@ beforeEach()->assertTrue(true);
|
|||||||
|
|
||||||
it('proxies calls to object')->assertTrue(true);
|
it('proxies calls to object')->assertTrue(true);
|
||||||
|
|
||||||
|
it('is capable doing multiple assertions')
|
||||||
|
->assertTrue(true)
|
||||||
|
->assertFalse(false);
|
||||||
|
|
||||||
afterEach()->assertTrue(true);
|
afterEach()->assertTrue(true);
|
||||||
|
|||||||
@ -27,3 +27,7 @@ it('do not skips with falsy closure condition')
|
|||||||
it('skips with condition and message')
|
it('skips with condition and message')
|
||||||
->skip(true, 'skipped because foo')
|
->skip(true, 'skipped because foo')
|
||||||
->assertTrue(false);
|
->assertTrue(false);
|
||||||
|
|
||||||
|
it('skips when skip after assertion')
|
||||||
|
->assertTrue(true)
|
||||||
|
->skip();
|
||||||
|
|||||||
Reference in New Issue
Block a user