Skip to content

add: basic tests#6

Open
hbrbssa wants to merge 1 commit into
mainfrom
tests/yoga-contract-basic
Open

add: basic tests#6
hbrbssa wants to merge 1 commit into
mainfrom
tests/yoga-contract-basic

Conversation

@hbrbssa

@hbrbssa hbrbssa commented Nov 22, 2025

Copy link
Copy Markdown
Collaborator

No description provided.

@duncancmt duncancmt left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

This looks like a good skeleton for a unit test suite. Please merge in the latest changes from dcmt/yoga-contract to make sure that we're on the same page.

The main thing that should be improved here is that we want to exercise more of the codepaths of _populateActions and check that it's not somehow corrupting the getTicks array. Because there are many many codepaths there, this will probably be a tedious task. This is a good place to begin to apply stateful invariant testing. But a few basic manual tests of those codepaths is probably a good idea too.

@hbrbssa

hbrbssa commented Nov 22, 2025

Copy link
Copy Markdown
Collaborator Author

Acknowledged^

@hbrbssa
hbrbssa changed the base branch from dcmt/yoga-contract to main November 23, 2025 00:01
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