Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: always test external methods #168

Closed
wants to merge 1 commit into from

Conversation

0xteddybear
Copy link

No description provided.

Comment on lines 5 to -16
BFactoryTest::newBPool
└── when called
├── it should call _newBPool
├── it should deploy a new BPool
├── it should add the newBPool to the mapping of pools
├── it should return the address of the new BPool
├── it should emit a PoolCreated event
└── it should set the controller of the new BPool to the caller

BFactoryTest::_newBPool
└── when called
└── it should deploy a new BPool

Copy link
Member

Choose a reason for hiding this comment

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

i don't follow why we're doing this, isn't it better to test that the internal gets called and test the internal separately?

@wei3erHase wei3erHase deleted the test/btt-newbpool-consistency branch July 31, 2024 12:44
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