[arquillian-issues] [JBoss JIRA] (ARQ-1332) Should be able to script data in the data sets

Bartosz Majsak (JIRA) jira-events at lists.jboss.org
Wed Mar 6 09:48:57 EST 2013


Bartosz Majsak created ARQ-1332:
-----------------------------------

             Summary: Should be able to script data in the data sets
                 Key: ARQ-1332
                 URL: https://issues.jboss.org/browse/ARQ-1332
             Project: Arquillian
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: Extension - Persistence
            Reporter: Bartosz Majsak
            Assignee: Bartosz Majsak


The DataSet represents a collection of tables (rows) used to seed the database. However it's static nature is not sufficient in many cases. Imagine testing time sensitive data. It could be really handy to have possibility of defining date as "three days from today" or having current time by simply invoking "now()" function. With the power of a scripting language at your disposal it should be achieved very easy.
 
The goal of this project is to extend the Arquillian Persistence Extension usage of DBUnit and introduce the concept ScriptableDataSet. By leveraging "Scripting for the Java Platform" (JSR 223) introduced in JDK 6 we can use plethora of languages to add dynamic flavor to our data driven tests.

As a starting point groovy can be considered.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the arquillian-issues mailing list