Permalink
Commits on Sep 4, 2012
  1. Combined the functionality of the Combination and Permutation test

    suites into the Combination test suite.
    
    The Combination test suite can now use a constructor to pass
    parameters to the test or use fields or methods to pass the parameters
    to the test class.  The Attributes annotation has been enhanced to
    include an attributes field that is an array of string.  This array
    is assigned with the names of the attributes that have associated
    public field or method access.  If this empty, which is the default
    setting, then the Combination test suite will assume that there is a
    constructor that has the correct number of parameters and parameter
    types.
    
    Prior to this the Combination test suite expected a Map as the
    values of the attributes but this has changed and it now expects
    a list that contains object arrays for each attribute.  The
    map key were used to define the attribute names but now this is
    accomplished using the Attributes annotation attributes field.
    
    The CombinationTestTest has been updated to include the tests that
    were part of the PermutationTestTest test since the Combination
    test suite includes the same feature.
    
    The Permutation test suite has been removed along with the
    PermutationTestTest test.
    committed Sep 4, 2012
  2. Changed the inner class name from TestClassRunnerForPermutations to

    TestClassRunnerForCombination and updated some javadoc in the
    Combination class.
    
    Fix a comment in the Parameterized class.
    committed Sep 4, 2012
Commits on Sep 3, 2012
  1. Removed the apache license header information since the license

    detail is located at the top-level of the project.
    committed Sep 3, 2012
  2. Added the experimental runners CombinationTest, PermutationTest and

    ParameterizedTest.
    
    The PermutationTest is an extension of the original ParameterizedTest
    suite.  The difference is that it will pass all possible combinations
    of the returned parameter list.  The difference between the two suites
    is that the ith index is not the list of parameters to be passed to the
    constructor but the parameters associated with the ith parameter on
    the test class constructor.
    
    The CombinationTest is similar to the PermutationTest except that it
    uses a Map<String, Object[]> instead of an array of object arrays.
    The key of the map is the name of a publicly accessible field or method
    that will be used to pass the parameter values to the test instance.
    The name should follow the JavaBean pattern such that you only need to
    pass the name without the set prefix.  The CombinationTest will use
    that information to determine if there is a field or method that has
    public access.
    
    The ParameterizedTest extends the original ParameterizedTest prior to
    the addition of the Parameter annotation.  This updated version uses
    the Parameters annotation to associate a field or method that is
    public using the JavaBean pattern.  Instead of annotating a given
    field.  You can use the attributes field of the Parameters annotation
    to define the names of the attributes that will be passed the values.
    The attributes passed will define the name of the field and the
    ParameterizedTest will look up a public field with the same name. If
    that does not exist, it will prefix the name with set and make the
    first letter into an upper case and see if a public method with that
    name exists.  The other additional feature that this implementation
    has is that you can now define multiple Parameters annotation for
    a given test.  You can then associate those parameters to zero or
    more test{s} using the Parameters tests attribute.  For instance,
    you can set it to testMe and it will pass the returned parameters
    to a test with method name testMe.  The default is ".*" which is
    all defined tests.
    committed Sep 3, 2012
Commits on Aug 31, 2012
  1. Merge pull request #490 from marcphilipp/remove-usage-of-old-assert

    Use org.junit.Assert instead of junit.framework.Assert
    dsaff committed Aug 31, 2012
Commits on Aug 28, 2012
  1. Merge pull request #489 from matthewfarwell/assume-message

    Fixes #355 Improve Assume to allow custom message
    dsaff committed Aug 28, 2012
Commits on Aug 22, 2012
Commits on Aug 21, 2012
  1. Merge pull request #484 from jherault/feature

    [Enhancement] for parameterized JUnit test, Parameter annotation - V3
    dsaff committed Aug 21, 2012
  2. fixing weird indent

    jherault committed Aug 21, 2012
Commits on Aug 20, 2012
  1. Merge pull request #485 from awulder/issue-55

    Fix for issue #55
    dsaff committed Aug 20, 2012
  2. Merge pull request #488 from awulder/issue-487

    Fix for issue #487
    dsaff committed Aug 20, 2012
  3. Spelling

    jherault committed Aug 20, 2012
Commits on Aug 18, 2012
  1. Fix for issue #487

    The wrong Harmcrest jar was used in the build.xml for generating the
    javadoc.
    Arjan Wulder committed Aug 18, 2012
Commits on Aug 17, 2012
  1. Fix for issue #55

    Added Type check for MultiPointsMethod
    Arjan Wulder committed Aug 17, 2012
  2. Couple of nitpicks ;-)

    jherault committed Aug 17, 2012
Commits on Aug 14, 2012
  1. Merge pull request #451 from pettermahlen/cucumber-jvm-322

    Making it possible to instantiate Descriptions for individual tests without an actual Java class
    dsaff committed Aug 14, 2012
Commits on Aug 13, 2012
  1. Merge pull request #479 from awulder/issue-478

    Issue 478: Throw an IllegalArgumentException when the folder already exists
    dsaff committed Aug 13, 2012
  2. shortened some lines that were too long

    Petter Måhlén committed Aug 13, 2012
  3. Replaced IllegalArgumentException for IOException

    It's more consistent to throw an IOException instead of an
    IllegalArgumentException
    Arjan Wulder committed Aug 13, 2012
Commits on Aug 12, 2012
  1. Fixed indenting on several lines

    After solving #479 also fixed the indenting
    Arjan Wulder committed Aug 12, 2012
  2. Changes suggested by kcooney

    kcooney suggested some changes for #479
    Arjan Wulder committed Aug 12, 2012
  3. Issue 478: Throw an IllegalStateException when the folder already exists

    Changed the code so it behaves like it is described in the
    documentation.
    Arjan Wulder committed Aug 12, 2012
Commits on Aug 10, 2012
  1. improved the javadoc description of the added factory method

    Petter Måhlén committed Aug 10, 2012
Commits on Aug 3, 2012
  1. re-added createTestDescription(Class, String), and fixed javadoc comm…

    …ent that had ended up in the wrong place
    Petter Måhlén committed Aug 3, 2012
  2. Merge pull request #470 from marcphilipp/fix-javac-build

    Fix javac build
    dsaff committed Aug 3, 2012
Commits on Aug 2, 2012
  1. Fix javac build

    Replace both() with allOf()
    marcphilipp committed Aug 2, 2012
  2. Merge pull request #436 from matthewfarwell/testrule-javadoc

    Fixes #427 inconsistent javadoc for test rules
    dsaff committed Aug 2, 2012