Title: Test shouldn't perform call to backend · Issue #120 · GetStream/stream-java · GitHub
Open Graph Title: Test shouldn't perform call to backend · Issue #120 · GetStream/stream-java
X Title: Test shouldn't perform call to backend · Issue #120 · GetStream/stream-java
Description: Currently, our tests are performing calls to our backend server and they need concrete creds/config to pass. It is not the best approach, because if any of our tests fail, we can't be sure it is because the code we changed is breaking th...
Open Graph Description: Currently, our tests are performing calls to our backend server and they need concrete creds/config to pass. It is not the best approach, because if any of our tests fail, we can't be sure it is be...
X Description: Currently, our tests are performing calls to our backend server and they need concrete creds/config to pass. It is not the best approach, because if any of our tests fail, we can't be sure it i...
Opengraph URL: https://github.com/GetStream/stream-java/issues/120
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Test shouldn't perform call to backend","articleBody":"Currently, our tests are performing calls to our backend server and they need concrete creds/config to pass.\r\nIt is not the best approach, because if any of our tests fail, we can't be sure it is because the code we changed is breaking them, the network connection to our backend was not good, or the backend server is not working as expected just at the moment our tests are running.\r\n\r\nTo improve it we should provide some Mock Server (There are different libs that can help us like [MockWebServer](https://github.com/square/okhttp/tree/master/mockwebserver) or [WireMock](https://wiremock.org/)) configuring the expected responses for every request our tests need to perform","author":{"url":"https://github.com/JcMinarro","@type":"Person","name":"JcMinarro"},"datePublished":"2023-01-26T10:30:35Z","url":"https://github.com/GetStream/stream-java/issues/120"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d2b634cd-a7a1-453b-72a4-ef9806316aa0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B414:21BFE4:FB445:148BE6:6B036D19 |
| html-safe-nonce | a61c5d187ef85266d12bff09f014433f3394c6b2d5f83fcadffed58611d70e75 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDE0OjIxQkZFNDpGQjQ0NToxNDhCRTY6NkIwMzZEMTkiLCJ2aXNpdG9yX2lkIjoiNDE2NjEwMDgyODQ2MzI2MzAwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 01830208cdb3648031602ad09e7bad0e9eed57bdd0736d6584b7d8dc7f380d02 |
| hovercard-subject-tag | issue:1557932517 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/GetStream/stream-java/120/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ee86acd90d6b09d280a198593bb32551c4886df8bbbbc1900e96b4bafbdf9e3c/GetStream/stream-java/issues/120 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ee86acd90d6b09d280a198593bb32551c4886df8bbbbc1900e96b4bafbdf9e3c/GetStream/stream-java/issues/120 |
| og:image:alt | Currently, our tests are performing calls to our backend server and they need concrete creds/config to pass. It is not the best approach, because if any of our tests fail, we can't be sure it is be... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JcMinarro |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/GetStream/stream-java git https://github.com/GetStream/stream-java.git |
| octolytics-dimension-user_id | 8597527 |
| octolytics-dimension-user_login | GetStream |
| octolytics-dimension-repository_id | 32178984 |
| octolytics-dimension-repository_nwo | GetStream/stream-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 32178984 |
| octolytics-dimension-repository_network_root_nwo | GetStream/stream-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width