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

Enhanced/Expanded Testing #595

Open
dustinswales opened this issue Oct 3, 2024 · 2 comments
Open

Enhanced/Expanded Testing #595

dustinswales opened this issue Oct 3, 2024 · 2 comments

Comments

@dustinswales
Copy link
Collaborator

Description

Testing in the Framework is achieved via ~large system tests, not by modular unit tests. The contents of these system tests is diverse, and has expanded over time, so it's not clear what/where/how things are being tested.
Unit testing is not practical for most of the tests we need, so how do we design a testing harness that is manageable and extendible.

Solutions

It was discussed that at the very least we should document what is being tested in our existing systems tests, and to continue to do so going forward. Maybe this is enough?
Ultimately, Capgen will be embedded within several modeling systems, providing much more coverage testing than our system tests, but relying on application testing is not a great idea IMO.
Thoguhts?

@dustinswales
Copy link
Collaborator Author

A possible resource/option:
unittest.mock (https://docs.python.org/3/library/unittest.mock.html)

@climbfuji
Copy link
Collaborator

@mwaxmonsky has experience with the unittest mock library :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants