Hi,
I did followed BDD framework for unit testing and API test for writing test cases. I am having difficulties to write test cases for my application. I am following cases and cases test application those are there in forge component. But i am still not able to understand the concept how to build test cases easily. Is there any documentation or material can i get to use for reference like a step by step process.
Please help me on that.
Thanks,
Anusha
Hi!
Check out this video (30 min) from João Proença (I believe he was involved in the development of LifeTime and testing it with the BDD Framework) that gives a practical example on how to use BDD Framework by using it on the eCommerce sample application. It is 2 years old, from the end of 2016, but it is still a good practical example.
https://www.youtube.com/watch?v=df6j7J33JT8
--Tiago Bernardo
Hi Anusha,
I was going to post the video too, but Tiago beat me to it. :)
Though the video is 2 years old, it still up to date for someone who wants to get a practical, step-by-step introduction to the framework.
Hope it helps!
Cheers,
João
João Proença wrote:
Hey João, mind sharing how you created your custom Action CartGetCurrentProducts? I'd really appreciate it.
What filter did you use for the Aggregate?
With thanks.
Hi Tabiso,
The video is a bit dated by now, but if you follow the more recent article with a tutorial on the BDDFramework, I believe all will be much more clear.
Check it out: https://www.outsystems.com/blog/posts/bdd-testing/