7

Given the popularity of unit testing, and the inclusion of DUnit with Delphi, has this been embraced by any component vendors who have released their source along with a suite of unit tests?

I'm looking for examples to share with other developers.

mjn
  • 36,362
  • 28
  • 176
  • 378
Darian Miller
  • 7,808
  • 3
  • 43
  • 62
  • 1
    This is setting up to be a list question, which StackOverflow kind of tries to discourage. But check out DeHL and OmniThreadLibrary. – Mason Wheeler Sep 30 '11 at 04:03
  • 1
    And our [mORMot Open source project](http://synopse.info) (Client-Server RESTful ORM with SOA). It is shipped with about [6,000,000 regression tests](http://synopse.info/fossil/finfo?name=SQLite3/TestSQL3.dpr). – Arnaud Bouchez Sep 30 '11 at 05:13
  • 2
    Maybe you could rephrase it to be "what's the best example of professional-grade DUnit tests?" – Eugene Yokota Sep 30 '11 at 05:18
  • Component testing is not very well suited for unit testing since most components are all about GUI behaviour and not so much about testable behaviour. – jpfollenius Sep 30 '11 at 07:48
  • 'Not constructive'... 'expect answers to generally involve facts, references'... isn't that what this question is about? (facts, references - it's not an opinion if a component library ships with unit tests) – Darian Miller Sep 30 '11 at 14:18
  • The not-constructive real reason it was closed is that ListsOfX Questions are discouraged because they have N answers instead of 1 answer. – Warren P Sep 30 '11 at 15:04

1 Answers1

6

DWScript ships with a large collection of DUnit-based tests, most of them "hand-made", and also leverages Delphi Code Coverage (see also the DCC Wizard project).

Eric Grange
  • 5,931
  • 1
  • 39
  • 61