You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: