LiveCode Builder Test Framework

LiveCode Builder is a language for extending LiveCode's capabilities, creating new object types as Widgets, and libraries that access lower-level APIs in OSes, applications, and DLLs.

Moderators: LCMark, LCfraser

Post Reply
Peter Wood
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 92
Joined: Mon Jul 06, 2009 4:53 am
Location: Bamboo River

LiveCode Builder Test Framework

Post by Peter Wood » Thu Mar 19, 2015 11:52 am

From a quick look at the tests in Github, the LiveCode Builder Test Framework looks good. From its implementation, especially the test runner, it seems that it has been developed for testing LiveCode Builder itself.

Is it possible for the test "dialect" to be made available via the extension manager so that it could be used to write tests for widgets and libraries? (I am assuming that it will be possible to write and run a test runner from LiveCode.)

LCMark
Livecode Staff Member
Livecode Staff Member
Posts: 1206
Joined: Thu Apr 11, 2013 11:27 am

Re: LiveCode Builder Test Framework

Post by LCMark » Thu Mar 19, 2015 9:02 pm

At the moment the LCB unit test framework is being used to implement tests for the LCB VM, Compiler and Standard Library. However, we are planning to increase its scope to include both libraries and widgets written in LCB, and the LCS syntax action functions in (to which LiveCode syntax binds).

We are definitely planning to let you write your own unit-test modules for your extensions and integrate them with the build process for them.

Peter Wood
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 92
Joined: Mon Jul 06, 2009 4:53 am
Location: Bamboo River

Re: LiveCode Builder Test Framework

Post by Peter Wood » Thu Mar 19, 2015 11:04 pm

That's great news.

Post Reply

Return to “LiveCode Builder”