Testing your OSF Application
Summary:
Modern software developers understand the value of tests in ensuring a robust application that works as desired. Oracle Commerce Open Storefront Framework (OSF) applications provide tools to make it easy to develop and maintain high quality tests.
Content (required):
OSF uses the Jest testing framework, which was initially developed by Meta (fka Facebook), and is designed to be simple to setup and fast to run. Jest works with projects using TypeScript, Node.js, Angular, and Vue.js but it shines when working with React - which is just what our Oracle Commerce reference applications leverage.
OSF includes a number of preset configurations and scripts that make it easy to include Jest-authored tests in your OSF projects. Let's look at some of the features of Jest.