Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Back when I was working as team lead/development manager, the rule was that you wrote tests as you went along and kept them with the Source Tree in the ../t sub-directory of the component you were working on. That allowed the developer the most freedom to pick and choose the tests that they needed to run during the day.

At 2300 the source tree was swept for changes and the Product Build kicked off. If the Build was successful, then all the /t directories were swept and executed. (The test-sweep was a separate Build, so we could schedule it apart from a Product Build.) When I showed up at 0800 the following morning, I had most of the data I needed for the 0830 Coffee and Scrum, before we split up for the day. ("OK, People. Let's go and invent the Future!")

Since the Build took two to three hours and the Test Run took about the same, I had some slop in the nightly schedule. There was always some chat about trying to speed up the Build/Test, but so long as I had the slop time, I could successfully argue that that any 'tuning' represented false-optimization and besides, the nightly full test run was 'regression'.

The developers were at liberty to maintain their own order-of-march for the tests. Some just kicked off the entire suite for their component when they felt the need to (or wanted to get up and get more coffee). Others just limited themselves to the one or two tests that exercised their code change and let the nightly full test run check for cross-talk and regression in other parts of the Source Tree.

I guess I am saying that you need both kinds of test harnesses -- one that fails quickly for when you are head down in the Code, and one for regression that is very hard to kill. (Maybe call them 'Agile' and 'Timex'?)

I Go Back to Sleep, Now.


I Go Back to Sleep, Now.


In reply to Re: Order of tests by Old_Gray_Bear
in thread Order of tests by davies

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others making s'mores by the fire in the courtyard of the Monastery: (4)
    As of 2021-04-18 21:49 GMT
    Find Nodes?
      Voting Booth?

      No recent polls found