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

Identify unit testable sections #203

Open
Tracked by #188
cc-a opened this issue Aug 27, 2024 · 0 comments
Open
Tracked by #188

Identify unit testable sections #203

cc-a opened this issue Aug 27, 2024 · 0 comments
Assignees

Comments

@cc-a
Copy link
Contributor

cc-a commented Aug 27, 2024

Unit testing of codes with large amounts of global state can be challenging. As a starting point we should try to identify sections that could be unit tested. Ideal candidates would be pure functions. Failing that, functions or sub-routines with minimal side effects that avoid operations with global (module) level variables.

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

No branches or pull requests

1 participant