More assertions 🥩
Mark | Type | Count | Packages |
---|---|---|---|
Features | 7 | documentator , graphql , graphql-printer , testing |
|
Bug Fixes | 5 | documentator , graphql , graphql-printer , testing |
|
💀 | Deprecations | 2 | graphql , testing |
The release introduces more testing assertions and much better docs for them.
Package documentator
Features
IncludeDocBlock
(include:docblock
) will replace inline@see
/@link
to FQCN if possible (71aa7b6)
Bug Fixes
IncludeDocBlock
(include:docblock
) will include whole docblock by default (00ace46)Preprocessor
regexp mode (addedu
flag) (ea497bb)
Package graphql
Features
- Added
assertGraphQLIntrospectionEquals()
assertion (539ba11) - Added
assertGraphQLSchemaNoBreakingChanges()
assertion (ed9bfc1) - Added
assertGraphQLSchemaNoDangerousChanges()
assertion (ee41b8c) - Added
assertGraphQLSchemaValid()
assertion (49941c5)
Bug Fixes
- The current schema will be pass to
assertGraphQLPrintableEquals()
/assertGraphQLExportableEquals()
when not specified (9c930b2)
Deprecations 💀
*:getDirectiveLocations()
/*:getLocations()
, please use*::locations()
instead (224a69a)
Package graphql-printer
Features
GraphQLExpected
can hold theSchema
(that required for export) (a6a316e)
Bug Fixes
Printer::process()
will not throwDirectiveDefinitionNotFound
(same as for a type) (3246647)
Package testing
Features
- Added
ResponseAssertions::assertPsrResponse()
assertion (6d42dda)
Bug Fixes
ScheduleAssertions::assertScheduled()
command class detection (018d177)
Deprecations 💀
ResponseAssertions::assertThatResponse()
, please useResponseAssertions::assertPsrResponse()
instead (81125e9)