문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top