|Test EGL Templates using EUnit [message #1034258]
||Fri, 05 April 2013 08:01
| Patricia Fernández
Registered: October 2012
I'm new to EUnit. I read the documentation in the Epsilon manual and took a look at the examples, but I'm a bit lost and I'm not sure if EUnit fits what I need to test, as I couldn't find a similar example. Here is a simplified version of what I'm looking for:
Given a UML model, and going through a bunch of egl templates, I generate C# code. What I need to test is if the given classes from the model have name and if they don't, my template should throw an exception.
The way I've been testing this until now was changing the original model and forcing the exception creating a class without name, but I wonder if I could do it using EUnit.
Thanks in advance.
[Updated on: Fri, 05 April 2013 08:04]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02430 seconds