in reply to Re^2: "deep" unit testing
in thread "deep" unit testing

Can you elaborate a bit on what we're talking about in regards to timing? 5ms, 100ms etc?

Can you also explain in a bit more detail the nature of what is being tested? No need to go to extremes here, just enough so we have a better idea of the why regarding such time-sensitive (and non-additive-to-codebase) testing.

Is mocking out pieces of specific tests an option? Do you store data externally so that you can test against it so timing isn't so critical?

Replies are listed 'Best First'.
Re^4: "deep" unit testing
by LanX (Saint) on Mar 27, 2019 at 20:58 UTC
    ( Oh you have internet on your boat in the wild??? ;-P )

    No I can't.

    Communication is hard and I had to come up with a self contained example.

    Enough to tell that these are extensive ETL operations shuffling and transforming trillions of data sets each night.

    And I'm not going to tell my client that his code base of the last 20 years is "horse shit". *

    The case is still interesting as such: What is the best approach for deep unit testing?

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

    *) at least not on a daily basis ;-)

      "Oh you have internet on your boat in the wild?"

      No. Definitely not. Weird thing is that I'm oddly outside (ie. underneath) most radio waves, so it's hard for us to reach out and 'see'. Actually, even on the "FM" dial, we can only get a few stations in our 'bowl', oftentimes only after sunset. (Most of my finds are AM or other).

      Rockin' Bon Jovi out of Alaska while in Somewhere BC Canada is somewhat entertaining... more or less we listen to the solar powered radio(s) after the sun goes down, and write in my book what frequency occurs when, and from where. For what it's worth, I can tell by accent anymore where a radio station is positioned.

        I grew up in the Rockies, pre-cable for the area and when satellite was too expensive for hoi polloi. There were no near translator/booster stations and we got just one TV channel that wasn't mostly static. Similar with radio. Had to wait for the FCC regs to let them turn up the watts at night to clearly get more than the single local station which was half in Spanish which I never picked up much at all. :P