Child pages
  • Thrash Testing

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: adding info on necessary parameters

...

Code Block
ant thrash -Dthrash.scheme=scheme:SimpleInsertTest::0-50,5-100,15-100,20-100

The tests rely on a few things. Values need to be set in the ~/Library/wobuild.properties file:

Code Block

wonder.test.thrash.adaptor=MySQL
wonder.test.thrash.url=jdbc:mysql://localhost/wotesting
wonder.test.thrash.user=ray
wonder.test.thrash.pwd=zekretword

The "SimpleFetchTest" and "SimpleInsertTest" inner classes will load the "BusinessModel" in the ERExtensions framework, based on the defined adaptor. For example, with the information above, the "MySQLBusinessModel.eomodeld" will be loaded by the tests and they rely on that model being available.