Skip to content

testIsExecutionFinished doesn't pass #25

Closed

Description

@adri09070

The following test doesn't pass and it's the last one that needs to be corrected to finally have only green tests for Sindarin:

SindarinDebuggerTest>>#testIsExecutionFinished
	| scdbg |
	scdbg := SindarinDebugger debug: [ self helperMethod16 ].
	self deny: scdbg isExecutionFinished.
	scdbg
		stepOver;
		step;
		step;
		stepOver;
		step;
		stepOver;
		step.
	"Reached `self isActiveProcess` in Process>>#terminate"
	self assert: scdbg isExecutionFinished

This is because it does multiple steps when the debguged method contains only one message and a return so only 2 stepOver| should be performed:

helperMethod16

	^ 1 + 1

We'll then see if the tested method works fine or not

Activity

  1. adri09070 commented on Jun 15, 2022

    @adri09070
    ContributorAuthor

    Actually, I see that the related method has been fixed on Pharo side: pharo-project/pharo#8567

    These changes should have been integrated to this repo a year and a half ago. This important PR is also supposed to fix a crash caused by

    SindarinDebugger>>#stepOver
  2. adri09070 commented on Jun 15, 2022

    @adri09070
    ContributorAuthor

    Actually, these changes have been merged by #14 into the Pharo10 branch.

    Is there any reason why these changes haven't been merged into branch master?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions