NetSuite’s SuiteCloud developer platform provides solutions for software developers that deliver agility and control over every stage of your company’s software development lifecycle management process. Implementing continuous integration and delivery (CI/CD) techniques to build better quality software faster has never been easier with the Platform developer solutions now available in NetSuite.
Let’s take an in-depth look at how teams can realize the benefits of automated build, test, integration and distribution of custom objects and applications created for NetSuite accounts, including the ISV solutions built and offered by SuiteCloud Development Network partners.
SuiteCloud IDE:
NetSuite application development typically begins within an integrated developer environment (IDE) context with business logic based on JavaScript standard-based SuiteScript. NetSuite’s SuiteCloud supports a range of popular IDEs like WebStorm and Visual Studio Code (VsCode), one of the world’s most widely adopted code editors. Installing the SuiteCloud extension instantly makes your IDE NetSuite-aware and enables full support of the SuiteCloud Development Framework (SDF).
SuiteCloud Development Framework:
SDF offers a collaborative development paradigm that supports an embeddable version control system, object dependencies and change management throughout the entire development lifecycle.
By providing a robust, IDE and command cline interface (CLI)-centric framework for building applications and executing DevOps processes, organizations can more easily adapt NetSuite to their specific needs. The framework defines a structured development process for customizing, integrating and extending any native NetSuite capability, with a project-based approach to managing components or custom objects represented as XML.
Powerful CLIs:
The SuiteCloud CLI is an IDE-agnostic tool that enables full control of your software development lifecycle.
The CLI for Java and the CLI for Node.js (available as an open-source distribution on npm.js) can be used to create, manage and automate SDF projects at each pipeline stage. The tooling provides teams with a modern DevOps experience, supporting common tasks like updating custom objects, validating project dependencies and deploying projects to accounts—including sandbox and production—all of which can be scripted and scheduled.
Jest Unit Testing Framework:
SuiteCloud provides access to JavaScript test frameworks, including open-source Jest, to perform unit testing of SuiteCloud projects directly from the CLI.
And by embedding Jest in the IDE, developers can execute test cycles for SuiteScript 2.x files referenced within SDF projects. As part of the Jest distribution, developers receive ready-to-use SuiteScript 2.x record stubs including HTTP, HTTPS RECORD and Search. Complete instructions are provided for stubbing out NetSuite records required by the test harness. The framework also ships with a custom resolver to mock objects outside of test scope and includes a mock functions API for test-time observation of function calls.
Each test run produces a coverage report containing pass/fail metrics, execution time and other useful test results. For IDEs like WebStorm and VS Code that support Node.js debugging, Jest includes support for a unit testing debugger to help quickly identify and resolve errors in SuiteScript module code.
Find out more about SuiteCloud by filling the form below:
Social