Skip to content

refactor(TestSetterAndGetterTrait): Do not automatically set 'assert' to 'same' if value is an object - #7

Open
TiSiE wants to merge 1 commit into
cross-solution:2.xfrom
TiSiE:TestSetterAndGetterTrait-improve_specifications_parsing
Open

refactor(TestSetterAndGetterTrait): Do not automatically set 'assert' to 'same' if value is an object#7
TiSiE wants to merge 1 commit into
cross-solution:2.xfrom
TiSiE:TestSetterAndGetterTrait-improve_specifications_parsing

Conversation

@TiSiE

Copy link
Copy Markdown
Member

It was impossible to check a object values for equality without specifying the 'assert' method.
This could have been unintuitive in certain test situations - while the opposite case ( check value objects to be
the exact same) had not to be made explicit.

Now checking if two value objects are the same has to be made explicit by specifying the assert method.

… to 'same' if value is an object
It was impossible to check a object values for equality without specifying the 'assert' method.
This could have been unintuitive in certain test situations - while the opposite case ( check value objects to be
the exact same) had not to be made explicit.
Now checking if two value objects are the same has to be made explicit by specifying the assert method.
@TiSiETiSiE added this to the 2.1.0 milestone Mar 12, 2020
@cbleek

Copy link
Copy Markdown
Member

do I have todo something?

@TiSiE

Copy link
Copy Markdown
MemberAuthor

@cbleek No


I just realized, that this is a breaking change and therefor unfortunately is not suitable for a 2.x relase. It will have to wait for 3.0.0

@TiSiETiSiE modified the milestones: 2.1.0, 3.0.0Mar 13, 2020
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@TiSiE@cbleek