[ANN] ObjectDiff(or DiffyDiff)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ANN] ObjectDiff(or DiffyDiff)

HwaJong Oh
This post has NOT been accepted by the mailing list yet.
Hi, folks,

You may have encountered the situations when two objects seem equal buy behaves different, you might want to know why(or what is the difference).
Or your unit test is failing but the objects you are comparing is too complex to know where the difference is.

Try using ObjectDiff!

Martin Dias's workspace http://ws.stfx.eu/R66OFSAO1BX0
Find out the AST difference between assignment & setting message  https://vimeo.com/117456043


It is type agnostic.
(11 to: 13) asArray diffyDiff: (Dictionary newFromPairs: {1. 11. 2. 12. 3. 13}).

Morph is complex, which makes a good example.
(World systemWindows at: 1) diffyDiff: (World systemWindows at: 2)

Best Regards,
HwaJong Oh