Title: SetUp and TearDown being called twice · Issue #80 · cpp-testing/GUnit · GitHub
Open Graph Title: SetUp and TearDown being called twice · Issue #80 · cpp-testing/GUnit
X Title: SetUp and TearDown being called twice · Issue #80 · cpp-testing/GUnit
Description: I am aware that with GUnit there is no more need to have the SetUp and TearDown method declarations, but in my tests I still have it for my own organization. So while using GUnit, I see that the SetUp method is being called twice. Find t...
Open Graph Description: I am aware that with GUnit there is no more need to have the SetUp and TearDown method declarations, but in my tests I still have it for my own organization. So while using GUnit, I see that the Se...
X Description: I am aware that with GUnit there is no more need to have the SetUp and TearDown method declarations, but in my tests I still have it for my own organization. So while using GUnit, I see that the Se...
Opengraph URL: https://github.com/cpp-testing/GUnit/issues/80
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"SetUp and TearDown being called twice","articleBody":"I am aware that with GUnit there is no more need to have the SetUp and TearDown method declarations, but in my tests I still have it for my own organization.\r\n\r\nSo while using GUnit, I see that the SetUp method is being called twice. Find the stack of the first and second call attached.\r\n\r\n\r\n\r\nYou can see that in the second call the only difference is the extra GTEST\u003c\u003e::TestBody() call.\r\n\r\nI see that there is a call in line 247 and 249 of GTest.h. After commenting it stops to call it twice.\r\nI am not very familiar with the internals, is there a reason to call the SetUp and TearDown there?\r\n","author":{"url":"https://github.com/rafaelBauer","@type":"Person","name":"rafaelBauer"},"datePublished":"2022-09-08T15:47:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/80/GUnit/issues/80"}
| 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:db3f9c36-113f-72ae-1828-0731199e0c13 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 850E:3DF510:6F82D4:9E937E:696F5DDD |
| html-safe-nonce | 387b243498bc85156037eff07e623d52fec2af40a1fc032f3cdc5c4fcefb0dce |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTBFOjNERjUxMDo2RjgyRDQ6OUU5MzdFOjY5NkY1REREIiwidmlzaXRvcl9pZCI6IjI4NDU2MTU4NzM0NzA3MTc0MDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 05bfdd3b5f08f6daa867a338baa69d7db46e038e97212e8d3bcfcb4ba7b0b31b |
| hovercard-subject-tag | issue:1366594795 |
| 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/cpp-testing/GUnit/80/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b5db7a996dca7f7d09ebced1c2a0b620a3574294190762f64a064f985c6ad5d3/cpp-testing/GUnit/issues/80 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b5db7a996dca7f7d09ebced1c2a0b620a3574294190762f64a064f985c6ad5d3/cpp-testing/GUnit/issues/80 |
| og:image:alt | I am aware that with GUnit there is no more need to have the SetUp and TearDown method declarations, but in my tests I still have it for my own organization. So while using GUnit, I see that the Se... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rafaelBauer |
| hostname | github.com |
| expected-hostname | github.com |
| None | 774d0922d2c4577043d2dab90427344eb4c6ce1d5579acb1dd504cff1a7e46f8 |
| turbo-cache-control | no-preview |
| go-import | github.com/cpp-testing/GUnit git https://github.com/cpp-testing/GUnit.git |
| octolytics-dimension-user_id | 24781083 |
| octolytics-dimension-user_login | cpp-testing |
| octolytics-dimension-repository_id | 77401922 |
| octolytics-dimension-repository_nwo | cpp-testing/GUnit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 77401922 |
| octolytics-dimension-repository_network_root_nwo | cpp-testing/GUnit |
| 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 | 650acea592f12d1bd8931d44546c209e0b06ed6e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width