Menu

#4 As a developer I want to create a dynamic Spring fixture for a test method

1.0
open
nobody
S (1) Story (5)
2012-07-25
2012-07-24
Pat
No

A dynamic Spring fixture allows the test writer to specify that a templated bean is created 'n' times.
Suggest builder exposes methods such as:
builder.get("myDynamicBean").times(20);

Discussion

  • Pat

    Pat - 2012-07-24
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,3 @@
     A dynamic Spring fixture allows the test writer to specify that a templated bean is saved 'n' times.
    +Suggest builder exposes methods such as:
    +builder.add("myBean").times(20);
    
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,3 +1,3 @@
     A dynamic Spring fixture allows the test writer to specify that a templated bean is saved 'n' times.
     Suggest builder exposes methods such as:
    -builder.add("myBean").times(20);
    +builder.add("myDynamicBean").times(20);
    
     
  • Pat

    Pat - 2012-07-25
    • summary: As a developer I want the test database to be populated with a dynamic Spring fixture for a test method --> As a developer I want to create a dynamic Spring fixture for a test method
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,3 +1,3 @@
    -A dynamic Spring fixture allows the test writer to specify that a templated bean is saved 'n' times.
    +A dynamic Spring fixture allows the test writer to specify that a templated bean is created 'n' times.
     Suggest builder exposes methods such as:
    -builder.add("myDynamicBean").times(20);
    +builder.get("myDynamicBean").times(20);
    
     

Log in to post a comment.