Title: Integration Test for Job Coordinator by pyalex · Pull Request #886 · feast-dev/feast · GitHub
Open Graph Title: Integration Test for Job Coordinator by pyalex · Pull Request #886 · feast-dev/feast
X Title: Integration Test for Job Coordinator by pyalex · Pull Request #886 · feast-dev/feast
Description: What this PR does / why we need it: Proposed design principles for integration tests Avoid mocking. Mocking is based on our expectations how other module works, not its real behavior Use real dependencies as much as possible via testcontainers If it's not feasible to use real implementation - implement fully-functional substitution, eg service with in-memory storage, that potentially can be covered with unit tests (see FakeJobManager) This substitution should be discovered through TestConfiguration Use smart matchers (hamcrest) instead of building complex object to compare Use awaitility for handling async processes. Test code should be short Which issue(s) this PR fixes: Fixes # Does this PR introduce a user-facing change?:
Open Graph Description: What this PR does / why we need it: Proposed design principles for integration tests Avoid mocking. Mocking is based on our expectations how other module works, not its real behavior Use real depe...
X Description: What this PR does / why we need it: Proposed design principles for integration tests Avoid mocking. Mocking is based on our expectations how other module works, not its real behavior Use real depe...
Opengraph URL: https://github.com/feast-dev/feast/pull/886
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:86ccc690-0c8b-3431-07a5-bad13d39aba3 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | DA52:162028:420940A:55FCEDB:697DBDB4 |
| html-safe-nonce | 0ffd2ed7b697bcadfc5cad448932a8095c6be7ec724a6cd90a5a2105a3363244 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTUyOjE2MjAyODo0MjA5NDBBOjU1RkNFREI6Njk3REJEQjQiLCJ2aXNpdG9yX2lkIjoiNzA2NTM2NTg0NTMwMzQ3NTYzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 16b7550848572101b2921866c546212ef374688829ac7875aeefbb341253e865 |
| hovercard-subject-tag | pull_request:450798939 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/feast-dev/feast/pull/886/checks |
| twitter:image | https://avatars.githubusercontent.com/u/1303659?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1303659?s=400&v=4 |
| og:image:alt | What this PR does / why we need it: Proposed design principles for integration tests Avoid mocking. Mocking is based on our expectations how other module works, not its real behavior Use real depe... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/feast-dev/feast git https://github.com/feast-dev/feast.git |
| octolytics-dimension-user_id | 57027613 |
| octolytics-dimension-user_login | feast-dev |
| octolytics-dimension-repository_id | 161133770 |
| octolytics-dimension-repository_nwo | feast-dev/feast |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 161133770 |
| octolytics-dimension-repository_network_root_nwo | feast-dev/feast |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width