Menu

Testing Approach

2012-05-02
2012-05-02
  • John Monroe

    John Monroe - 2012-05-02

    My question is in 2 parts…

    1 - How do you test ABL? Are your tests available?

    2 - How do I test my own logic annotations in a repeatable manner?

     
  • Automated Business Logic

    Hi John,

    internally, we have a long series of tests that run every night. You can actually see the results in the daily builds.

    The best way to test your own logic is with some sort of testing framework (we use jUnit, but anything will do, really). One nifty utility included in the Logic Extension package is called SnapshotDB: it allows you to make an in-memory copy of a (small) database, execute some logic, and then see what's changed. Very handy to make sure that your logic did exactly what you thought it should. The Logic Extensions are available in the Professional edition.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.