ariatemplates/ariatemplates — pull request #40 by juliandescottes (2012-07-05 12:00:44+00:00)
Title: Added 2 'definitions' for TestCase and TestSuite

Hi,

Let me know if I did this wrong. Is there any place where we can add unit tests for what we provide ?

Two new definitions added on the Aria singleton.

- Aria.testDefinition : automatically extends from aria.jsunit.TestCase
+ calls constructor and destructor of TestCase
- Aria.testSuiteDefinition : adds the $tests definition property, making
test suite creation more concise :
Aria.testSuiteDefinition({
$classpath : 'MainTestSuite',
$tests : [
'classpath1.MyTestCase',
'classpath2.AnotherTestSuite']
})