@bluGill@kbin.social cover

bluGill

@bluGill@kbin.social

A programmer with an interest in transit, making music, and building things of all types.

I have dysgraphia which makes writing difficult for me. I hope you can figure out what I mean despite my issues.

This profile is from a federated server and may be incomplete. For a complete list of posts, browse on the original instance.

bluGill , to Programming

Have you ever mocked your logger in a test, or wished you could? That is something like

TEST(some test name)

    mockLogger logger

    logger.expect_call(log("some string"))

    DoSomething(logger)

bluGill OP ,

@tve I didn't ask how to do it, I asked if anyone else has done it.

bluGill OP ,

@DmMacniel so you can prove some interesting thing is really logged? maybe someone else has a different reason.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • test
  • worldmews
  • mews
  • All magazines