Red Hat Bugzilla – Bug 988876
Test scenario cannot find facts from the same package
Last modified: 2014-08-06 16:16:35 EDT
Description of problem:
It is impossible to run a test scenario if it is in a non-default package AND it uses facts from that package (i.e. no need to import them).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. use mortgages project in uf-playground
2. create a new object in a new package, e.g. my.cool.stuff.Something using Data modeler (don't forget to save it)
3. go to my.cool.stuff package and creat a new Test scenario
4. Insert Something, run test, check Reporting window
Unable to find class 'Something'.
The test should pass without errors.
One more related thing -- when adding expectation, no rules are offered from the select box, but this doesn't depend on package name. It doesn't work for mortgages test scenarios too.
(In reply to Jiri Locker from comment #2)
> One more related thing -- when adding expectation, no rules are offered from
> the select box, but this doesn't depend on package name. It doesn't work for
> mortgages test scenarios too.
This has already been fixed and verified in bug 996490.
Fixed in ER4.