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

chore: Test restructure #5

Merged
merged 26 commits into from
Aug 5, 2024
Merged

chore: Test restructure #5

merged 26 commits into from
Aug 5, 2024

Conversation

byteZorvin
Copy link
Member

  • This adds file restructuring to testcases

@byteZorvin byteZorvin requested a review from apoorvsadana August 1, 2024 07:48
@apoorvsadana apoorvsadana changed the base branch from main to re-enroll August 1, 2024 17:15
Copy link
Contributor

Choose a reason for hiding this comment

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

so we won't keep unit tests in the same file?

Copy link
Member Author

Choose a reason for hiding this comment

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

Felt more sense to keep all the tests together, just a preference. Whats your take?

Copy link
Contributor

Choose a reason for hiding this comment

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

i think the convention is to keep unit tests in same file in general (at least in rust so that you don't need to make functions public to test them)

Copy link
Member Author

Choose a reason for hiding this comment

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

Have changed to keep the unit testcases with the contract, please do check

@apoorvsadana apoorvsadana changed the base branch from re-enroll to main August 5, 2024 08:55
@apoorvsadana apoorvsadana changed the base branch from main to re-enroll August 5, 2024 08:55
@apoorvsadana apoorvsadana changed the base branch from re-enroll to main August 5, 2024 08:55
@apoorvsadana apoorvsadana merged commit a11d2f6 into main Aug 5, 2024
2 checks passed
@byteZorvin byteZorvin deleted the test-restructure branch August 13, 2024 09:35
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