Skip to content

[WIP/blocked] Factor out runner._report_for_call, using item._current_callinfo#107

Open
blueyed wants to merge 8 commits intomy-masterfrom
_report_for_call
Open

[WIP/blocked] Factor out runner._report_for_call, using item._current_callinfo#107
blueyed wants to merge 8 commits intomy-masterfrom
_report_for_call

Conversation

@blueyed
Copy link
Owner

@blueyed blueyed commented Nov 12, 2019

Copy link

@RonnyPfannschmidt RonnyPfannschmidt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a creative way to sort out the different interaction pattern that unit-test brings about

i hope that my fear is unwarranted (and just a remnant of past changes)

as always, naming is the most difficult

thanks for starting this POC

#: "teardown", "memocollect"
start = time()
excinfo = None
call = cls(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this structure changes a CallInfo from something concrete and state-free to a state-machine tracking the progress if a call

i believe a class name change is warranted to make this clear, but off hand no good name describing it comes to mind

@blueyed blueyed changed the title Factor out runner._report_for_call, using item._current_callinfo [WIP/blocked] Factor out runner._report_for_call, using item._current_callinfo Jan 10, 2020
Sign up for free to 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