And, most important, do you test as you go, or have you become so good that you don't make silly little mistakes such as misplaces punctuation and the like?
A lot will depend on how "expensive" tests are. The price of a testset comes two ways: creating the testset, and running it. Take for instance the early stages of your new project. After writing the first bits and pieces, you don't have anything yet that can stand on its own. If you want to test the bits of pieces, you may have to create a lot of scaffolding to get your bits and pieces running this makes creating the test suite relatively more expensive - and so does running, since each failed test needs to be examined, was it a bug in the bits and pieces, or did the scaffolding fail? And if your test involves smashing a $100,000 dollar car against a concrete wall, it does make sense to limit the number of test runs as much as possible.
Like everything in programming practices: it's a trade-off.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|