Skip to content

add: basic tests#6

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

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

Conversation

@hbrbssa
Copy link
Copy Markdown
Collaborator

@hbrbssa hbrbssa commented Nov 22, 2025

No description provided.

Copy link
Copy Markdown
Owner

@duncancmt duncancmt left a comment

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
Copy link
Copy Markdown
Collaborator Author

hbrbssa commented Nov 22, 2025

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