Question

I am new to the IBM rule designer. I have written some rule sets and now I want to test them. Would anyone be able to help me understand why or when to use DVS and when to use JUnits for testing?

Was it helpful?

Solution

Currently I have only used DVS in trainings, but i can tell you my point of view :
Pros for DVS :
- BI user can create new tests (use of excels files) and execute them on RTS.
Cons for DVS :
- It's BOM intrusive, for example you have to specify in the bom every attribute you don't want in DVS files.
- It can lot's of time to set it up in place the first time, there are for example specific date format to use, scenario errors are not easy to understand (it's not your junit test code) etc.

Personnaly, i would suggest you to use Junit when you are charged to fill scenarios data, for larger tests you can use csv files with junit. And if BI user have to make their tests, and they have to see the result when they want, then use DVS.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top