TDS version 1.8.2

Rating: No reviews yet
Downloads: 21
Released: Jun 17, 2015
Updated: Jun 17, 2015 by vjohns
Dev status: Stable Help Icon

Recommended Download

Source Code TDS_AsOf15F15.zip
source code, 51K, uploaded Jun 17, 2015 - 21 downloads

Release Notes

This release consists of zipped file TDS_AsOf15F15.zip, which contains C# source file TDS.cs, which contains all the instructions needed for adapting and using TDS.

What’s new in version 1.8.2?

Revised handling of exceptions

  • The suggested structure of TDS tests has been revised slightly (moving some Assert statements into a catch{} block). This should make it easier to determine if an exception raised by the called function member is the expected one, and if the function member failed to raise an exception when it should have done so.
  • The TestableConsoleMethodTest() example now offers the choice of detecting exceptions raised on multiple input lines in the same test case. (You might prefer to ignore the remaining lines of a test case whenever an exception is raised, though that is not the default. A comment identifies this option.)

New example

  • A suggested technique for testing multiple constructors for a C# Type is illustrated.

Improved instructions

  • A few instructions that seemed slightly unclear are revised, or are expanded with more explicit code examples.
  • Use of a VS “Playlist” file to filter your VS tests is illustrated.
  • Example code contains more “//HACK:” lines to cause additional types of failures, illustrating the resulting reports. You may wish to use similar temporary “//HACK:” statements to help verify that your TDS test methods are working properly.
  • TDS doesn’t test private members well, but an illustration of a way in which you might do that is now included.

Zip file

To save space and to avoid having to rename the TDS.cs source-code file, it is downloadable as TDS_AsOf15F15b.zip (about 50 K bytes instead of 200 K), which contains only one file, TDS.cs. All of the instructions are contained in TDS.cs, which you may initially open using a text editor such as Notepad.exe.

Why not VS 2015?

I would have included instructions specific to VS 2015, but the TDS tutorial and examples depend heavily on being able to collapse and expand parts of the code, and the VS 2015 editor does not (yet) do so reliably. I expect to post a VS 2015-friendly version when VS 2015 Update 1 becomes available.

Reviews for this release

No reviews yet for this release.