mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
Add more tests
This commit is contained in:
@ -21,11 +21,27 @@ it('may have static note and runtime note', function () {
|
||||
})->note('This is a static note');
|
||||
|
||||
describe('nested', function () {
|
||||
beforeEach(function () {
|
||||
$this->note('This is before each describe runtime note');
|
||||
})->note('This is before each describe static note');
|
||||
|
||||
it('may have static note and runtime note', function () {
|
||||
expect(true)->toBeTrue(true);
|
||||
|
||||
$this->note('This is a runtime note within describe');
|
||||
})->note('This is a static note within describe');
|
||||
|
||||
describe('describe nested within describe', function () {
|
||||
beforeEach(function () {
|
||||
$this->note('This is before each nested describe runtime note');
|
||||
})->note('This is before each nested describe static note');
|
||||
|
||||
it('may have a static note and runtime note', function () {
|
||||
expect(true)->toBeTrue(true);
|
||||
|
||||
$this->note('This is a runtime note within a nested describe');
|
||||
})->note('This is a static note within a nested describe');
|
||||
})->note('This is a nested describe static note');
|
||||
})->note('This is describe static note');
|
||||
|
||||
test('multiple notes', function () {
|
||||
|
||||
Reference in New Issue
Block a user