I'm just starting to use the UseCase -> TestCase generation feature, as it makes EA
REALLY useful for those who are using the new "Use Case 2.0" idea of 'Use Case Slices'. (see Jacobsen et. al white paper at
http://www.ivarjacobson.com/use_case2.0_ebook/)
What I noticed is that the test case scenarios which get generated aren't all the possible paths through the use case, as described in Jacobsen's paper.
There seems to be one per Alternate, but you don't handle
combinations of alternates.
So, if my Basic Path has alternates A1 and A2, I get test case scenarios for :
- BP
- BP, including A1
- BP, including A2,
- the A1 fragment
- the A2 fragment
but, I don't get BP including A1
and A2 (assuming that the logic of the use case allows the user to follow both paths in the same run of the use case).
I totally get why this would be: it's computationally nasty to cope with combinations of multiple alternates, and the user can quite easily construct these complex cases from the generated fragments, but I wanted to make sure that this was a deliberate omission. If so, then I'll explain to my users how they can make the complex cases themselves.
@Sparx - is this how it is ?
Also, it would be good, at some point, for EA to explicitly support the Use Case Slice idea, as it looks like you've done all the hard work, and it just needs a skin and a few graphics changes. UC2.0 looks a really practical way to use 'use case' ideas in the Agile world, so is likely to get more popular over time.
..and no, I don't want to write ANOTHER extension....:-)