Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unit Testing for Extendscript

Need some guidance on automating unit testing for Extendscript..anyone have any experience running and writing unit tests on Adobe Extendscript jsx files with Grunt, Mocha, Chai, etc ?

like image 703
M Kay Avatar asked Nov 09 '22 08:11

M Kay


1 Answers

I have tested by using

  • substack/tape: tap-producing test harness for node and browsers
  • nbqx/estktap: tap(tape) wrapper for testing adobe extendscript

in my script.

here is an example.

https://github.com/milligramme/scriptui_boilerplate/blob/master/ui/test/test.js

not automating, but it will be easy to set in gulp workflow.

thank you.

like image 63
milligramme Avatar answered Nov 15 '22 10:11

milligramme