Unit Test framework for NetSuite

Overview Writing a good testable code is key to stable and maintainable code. NetSuite does NOT offer any unit testing framework out of the box. In Javascript world, I liked Mocha amongst the unit testing framework because of its simplicity and is easily pluggable with other libraries built for assertions, mocking, code coverage etc. than being a complete solution. Why MochaJS for NetSuite Amongst other unit javascript test frameworks I chose MochaJS because: Its simple Pluggable reporting capabilities It does not come up as one complete framework for everything - Mocks, Assertions, etc. So, I thought of modifying this library for NetSuite What Kind of Scripts you can unit test The framework currently, supports running tests in the context of scheduled script and suitelet. To use this framework you got to write more of you...

Oct 16, 2015 06:56 pm   -   Author: Prasun Sultania   -   Tags:   NetSuite      UnitTesting