ginkgo icon indicating copy to clipboard operation
ginkgo copied to clipboard

JustBeforeEach does not run when test is focused

Open ghost opened this issue 12 years ago • 5 comments

We added println to BeforeEach and JustBeforeEach and made a FIt. println from JustBeforeEach did not show up (unlike println from BeforeEach).

  • @cppforlife, @dliebreich

ghost avatar Apr 04 '14 19:04 ghost

Can you attach the code? Given how things work under the hood I have a hard time seeing how this was possible ;)

onsi avatar Apr 04 '14 19:04 onsi

Hey @cppforlife and @dliebreich, any updates on this? I just put together a simple example just to check and it works as expected. Can you attach some code? Or shall I close the issue?

onsi avatar Apr 07 '14 19:04 onsi

I was not able to create a simple reproducible example. I'll check with Dmitry tomorrow and ask if he has a better memory about what mods to the bosh go agent tests caused the behavior we saw.

dliebreich avatar Apr 08 '14 03:04 dliebreich

Thanks!

On Mon, Apr 7, 2014 at 8:35 PM, Dave Liebreich [email protected]:

I was not able to create a simple reproducible example. I'll check with Dmitry tomorrow and ask if he has a better memory about what mods to the bosh go agent tests caused the behavior we saw.

Reply to this email directly or view it on GitHubhttps://github.com/onsi/ginkgo/issues/52#issuecomment-39808704 .

onsi avatar Apr 08 '14 03:04 onsi

alright, marking this one as closed. reopen if you come across the issue again

onsi avatar Apr 11 '14 01:04 onsi