Felipe Knorr Kuhn
unread,Jul 21, 2009, 5:53:56 PM7/21/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pycc...@googlegroups.com
Hello all,
Since Custom Actions are so powerful, I was wondering how hard it would be to implement something like "partial custom actions" or even custom actions that make use of the Python libraries.
For example, in a system I am working on, I would need to write a test that goes like this:
Given that
The "users" database is empty <this would make some SQL query>
or
Given that
The database is restored <this would drop all tables and populate them again>
When
I fill the "from" textbox with the current date <defining or not a date format>
And I fill the "to" textbox with tomorrow date
...
I know you guys will probably say that the acceptance tests should not include dynamic data and that I should prepare the test environment before running the tests (through a CI server or whatnot), but I believe that dynamic data/keywords make the tests closer to the user and preparing the test bed through Pyccuracy is a nice way to show how powerful it is :)
Regards,
FK