Menu

DDTUnit / News: Recent posts

DDTUnit New Release 0.8.9

  • add: Maven 2.2.1 support.
  • fix: Cleanup of JUnitAddons dependencies. - Less dependencies
  • Discontinue JDK 1.4 support (You still find traces).
Posted by Joerg Gellien 2011-05-16

DDTUnit new Release 0.8.8

  • Fix: Support bean hint in nested array objects.
  • Fix: object with hint=bean and value=null throws an exception.
  • Add: Support JUnit4 Runtime Annotations
Posted by Joerg Gellien 2009-08-14

DDTUnit new Release 0.8.7

  • Support Java 1.4 runtime by using retrotranslator.sourceforge.net
  • Support JUnit4 runtime under Eclipse
  • Fix parsing problem with nested collection type
Posted by Joerg Gellien 2008-02-22

DDTUnit New Release 0.8.6

A new bugfix release is available.
The processing of nested container classes is improved. And the use of references on container items now is supported.

Posted by Joerg Gellien 2007-10-20

DDTUnit New Release 0.8.5

DDTUnit Release ddtunit_0.8.5, 07/2007

  • add: Add support for reading central cconfiguration properties from file resource
  • add: due to David Duchaine issue="1732556" -Add support on date format and Locale for hint="date"
  • add: Execute tests in same order as defined in xml resource
  • fix: issue="1652740" due to Jan Vlegels - Java 5 enum throws error
  • fix: issue="1641086" due to Jan Vlegels - Defining primitive array fields
  • fix: issue="1552200" due to Joerg Gellien - java.util.Hashtable not identified as java.util.Map if using hint="map"
Posted by Joerg Gellien 2007-07-02

DDTUnit New Release 0.8.4

Changes in this release:

  • fix - Defining primitive array fields
    Patch from Rafael Luque Leiva, applied by jg_hamburg.
  • fix - CDATA String definition does not work as expected
    Patch from Joerg Gellien, applied by jg_hamburg.
Posted by Joerg Gellien 2006-11-01

DDTUnit - New Release 0.8.3

Release 0.8.3 done on 05/2006

Changes in this release:

  • add - Add tool tip documentation on
    Change made by jg_hamburg.
  • fix - Error referencing object created by constructor call.
    Patch from Carlos Alves, applied by jg_hamburg.
  • fix - Creating Character Objects results in an exception
    Patch from Dennis Schweitzer, applied by jg_hamburg.
  • fix - Now processes collections as field type of <obj> correctly.
    Patch from Ted Velkoff, applied by jg_hamburg.
Posted by Joerg Gellien 2006-06-12

DDTUnit - New Release 0.8.2

Release 0.8.2 done on 04/2006

Changes in this release:

  • add new assertion actions: isInRange, isNotInRange (java.lang.Comparable)

  • extend FAQ with example on testing a class constructor.

  • Clarify exception messages on using hint="fields" and hint="bean" if unknown field,
    field type or setter method are provided in data definition.

  • fix on searching for a method by name and parameter set only the methods of the local
    class were used. Now also inherited methods were searched. This behavior is used
    by hint="bean" and hint="call".

Posted by Joerg Gellien 2006-04-06

New Release of DDTUnit: 0.8.1

  • add first support for instanciating objects by using static methods.
    Introducing new hint "call", attributes calltype and method.
    Setting hint="constructor" to deprecated.
    <obj id="myObj" type="string" calltype="ddtunit.MyFactory" hint="call"
    method="getInstance">
    <item type="string">parameter1</item>
    </obj>
  • Multiline string assert will ignore line.separator differences between actual (normaly programmaticly generated) and expected string (later specified in xml resource).
  • New assert action for expected exceptions.
    <exception id="myEx" type="java.lang.RuntimeException" action="isInstanceOf" />
    will catch all RuntimeExceptions and subclasses of it.
  • Define clear state for empty object tag. - Empty tag will try to provide empty object (collection, map or object created by default constructor).
Posted by Joerg Gellien 2005-12-20

New DDTUnit Release 0.8.0

DDTUnit - A Datacentric Approach to Unit Testing
The ChangeLog
==============
0.8.0: - refactoring of subpackage processing for easier maintenance and extensability.
=> every parsing class implements IAction
Faster - lighter - better

Posted by Joerg Gellien 2005-11-10

New DDTUnit Release 0.7.2

  • Bugfixes
  • First support for object arrays like String[]
  • Cleanup of internal data processing stack
Posted by Joerg Gellien 2005-10-17

DDTUnit New Release 0.7.1

0.7.1: - Add support for Collection shortcut notation of single type and mixed
types elements of collection.
<obj id="myCol" type="vector" valuetype="string">
<item>Hello</item>
<item>World!</item></obj> or
<obj id="myCol" type="vector" valuetype="string">
<item>Hello</item>
<item type="int">4711</item></obj>.

   - Ext added a few type shortcuts to TypeAbbrevator properties.
   - FIX Defining value objects with primitive field types.
   - FIX Check for Xerces as validating parser before try to parse resource
     If it does not exists just proceed without validation.
   - FIX log4j properties concerning additivity on appenders
   - FIX on count behavior of DDTRunMonitor
Posted by Joerg Gellien 2005-09-25

New Release 0.7.0

  • Added SoftReference cache for internal data repository
  • fixed problem with xsd schema reference in ddtunit.jar when used in external project
Posted by Joerg Gellien 2005-09-05

New Release 0.6.7

DDTUnit - A Datacentric Approach to Unit Testing
0.6.7: - Documentation update

   - First implementation of object references.
   - Separate cvs module ddtunit-libs containing required libraries (junit, junit-addons, log4j) used by ANT build.
Posted by Joerg Gellien 2005-08-11

Object references under development

A first implementation of object references using new xml attribute refid in under cvs now.
Basic idea:
<obj id="base" type="strig">Base</obj>
<obj id="local" type="string" refid="base" />

will fullfill
getObject("base") == getObject("local")

Development for all supported datatypes is under development.

Is there any need for such extensions? - Responses/Opinions highly welcome!!

Posted by Joerg Gellien 2005-07-22

New Release 0.6.6

  • Now the src archive contains full scope of taged files in cvs
  • Introduced new module ddtunit-libs to separate fixed files from changing ones.
  • Indroduction of 3 level scope for DataRepository. New levels:
    1) local, all objects only accessible in one test inside of a testmethod.
    2) global, all objects accessible within a testclass and from all methods.
    3) resource, all objects accessible for all classes.
    Reference hirachy starts from local to resource, that is if not found
    locally try it in global scope, then in reource scope.
    DDTTestCase provides separate access methods for every scope.
  • add support for java.util.Date with three formats with special keywords
    !SYSDATE! and !SYSTIME!.
  • extend assert actions with isLT, isNotLT, isGT, isNotGT for classes
    that implement the interface java.lang.Comparable.
  • first implementation of hint="bean" supporting bean like setter method
    calls to populate object fields.
Posted by Joerg Gellien 2005-06-30

New Release 0.6.5

0.6.5: - Multiline and <[CDATA[...]]> support for xml tag content.

   - Introduction of TypeAbbreviator to provide shortcut notation on most
     recently used Java datatypes, like java.lang.String -&gt; string. 
     Configurable shortcut factory.
Posted by Joerg Gellien 2005-05-26

New Release 0.6.4

Added support for object structures extended from java.util.Map. In addition to support of structures extending java.util.Collection this closes container object extension for now.

Posted by Joerg Gellien 2005-04-19