helpers
helpers copied to clipboard
Improve testing doc
My approach is to start testing end-to-end behaviors and then go towards the inner working. We don't want to test implementation details, otherwise the maintenance cost is insane.
This looks like testing too details.
Also we don't want to test that OpenAI specific stuff. E.g., we don't have to test that OpenAI follows its own API.
Can you start adding some of these suggestions to the unit test docs? ./docs/tools/unit_test/all.run_unit_tests.how_to_guide.md ./docs/tools/unit_test/all.write_unit_tests.how_to_guide.md
I'll file a bug
Originally posted by @gpsaggese in https://github.com/causify-ai/helpers/pull/777#discussion_r2115982890
We should also document
- [ ] the hunit_test framework
- [ ] add it to our working paper
- [ ] make a blog entry on this