Originating from the principles of Extreme Programming in the late 1990s, Test-Driven Development (TDD) has revolutionized the way we build software, championing a forward-thinking approach that prioritizes testing at the heart of development. With Test-Driven Development (TDD), developers write tests before functional code in short, iterative cycles of testing and development. TDD may appear counterintuitive… Continue reading Harnessing the Power of Test-Driven Development (TDD): A Suitelet Walkthrough
Tag: unit test
A SuiteScript Developer’s Guide to Effective Unit Testing with Jest
The Importance of Unit Testing Unit testing is a valuable method within the software development lifecycle that helps ensure the code you create is robust, reliable, and maintainable. Unit tests are essentially small, simple “units” of code that isolate and test specific functionality within an application to ensure each component operates as intended. The goal… Continue reading A SuiteScript Developer’s Guide to Effective Unit Testing with Jest
Suite Script Unit Test
Should the script be deployed to All Users/Subsidiaries/Roles/Departments/Contexts? Should the permission level be Current Role/Admin/Specific Roles? Should there be empty/unnecessary entry points on the script? Does the User Preference have an impact on the customization? For example: User Date Preference is different from company preference. The date format can be changed on the user preferences… Continue reading Suite Script Unit Test