benbria / object-spy

0 stars 0 forks source link

Generate views of wrapped objects #15

Open bllanos opened 9 years ago

bllanos commented 9 years ago

One of the intended use cases of the library is to assist in producing mock data for use in test code.

With this in mind, the existing Reporter objects help determine what data within an object is relevant to the client code, but it would be better to have an explicit representation of the object as seen by the client code.

Suggested implementation

bllanos commented 9 years ago

Perhaps add an option to control the time of the snapshot, allowing for the following possible outputs: