#222 Mock validation
Pull request opened by
bergman
TL;DR
Add some simple validation to mocks
☑︎ throw an exception if a mock was not used
☑︎ throw an exception if a duplicate mock was already defined
☐
throw an exception if a mock was not found and not explicitly configured to run actual task
☑︎ test behaviour of unmocked SdkRunnableTask tasks (they run by default if task type has no mocks defined)
Improve error messages around mocks,
Type
☐ Bug Fix
☐ Feature
☐ Plugin
Are all requirements met?
☐ Code completed
☐ Smoke tested
☐ Unit tests added
☐ Code documentation added
☐ Any pending items have an associated Issue
Complete description
How did you fix the bug, make the feature etc. Link to any design docs etc
Tracking Issue
_Remove the '_fixes_' keyword if there will be multiple PRs to fix the linked issue_
fixes
https://github.com/flyteorg/flyte/issues/
Follow-up issue
NA
OR
https://github.com/flyteorg/flyte/issues/
flyteorg/flytekit-java
GitHub Actions: build-snapshot
✅ 2 other checks have passed
2/3 successful checks