5

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 ?

M Kay
  • 51
  • 2

2 Answers2

1

I have tested by using

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.

milligramme
  • 404
  • 3
  • 9
0

I've recently had the same need. I've updated jasminejsx for testing in ExtendScript using Jasmine.js (2.5) and a custom Logger without the need of ExtendScript Toolkit.

I use an adaptation in my cep-bootstrap project but I plan to update it soon with the newest jasminejsx.

spyle
  • 1,960
  • 26
  • 23