[JW Lua] Unit testing for JW Lua

Bart Visser bartvisser at me.com
Fri Aug 1 14:39:23 CEST 2014


Sounds good. Thanks Jari!

Cheers,


Bart Visser

Op 1 aug. 2014, om 11:08 heeft Jari Williamsson <jari.williamsson at mailbox.swipnet.se> het volgende geschreven:

> Hello all!
> 
> I'm currently creating a suit of unit testing scripts for JW Lua, which is also a task that Lua is particularly well-suited for. If you know "Unit Tests" from used in concepts such as "Agile Software Development", you know what I'm talking about. Otherwise, unit testing is performed to make sure that a piece of code actually behaves the way it is meant to behave.
> 
> The first thing I've done is to make test for the properties in JW Lua. The JW Lua properties get tested for:
> * That the property exists
> * That the property also have a getter and setter method available
> * That the property are returning the expected Lua type
> * That the property can be loaded, set and saved correctly in Finale
> 
> The benefits for this kind of unit testing are huge for the JW Lua user:
> * It can quickly test that properties works correctly on any tested Finale version
> * It will quickly and accurately report the bugs found in JW Lua, the PDK Framework or in Finale.
> * It will act as a fast guardian against future unintended changes to JW Lua or Finale
> 
> I hope to be able to post the testing scripts on the site as I post new betas.
> 
> 
> Best regards,
> 
> Jari Williamsson
> 
> 
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu





More information about the JWLua mailing list