This article outlines the prerequisites for test automation in the context of PriceFx Unity. It covers the basic knowledge required for using PriceFx Unity, as well as the tools needed for test automation, including an IDE tool, Git, Node.js, and a package manager.
PriceFx Unity is a platform that provides pricing management solutions. It is important for test automation because it allows automation of testing processes related to pricing management, which can help ensure the accuracy and efficiency of pricing strategies and calculations.
PriceFx Unity Knowledge
Having a basic understanding of the PriceFx application is beneficial for starting with test automation. Everyone should understand Unity’s common functionality of its shared features or functions available across different parts of the application. Additionally, knowledge of Unity’s application modules (ie. Price Setting, Quoting, etc.) and understanding each of their aspects is important for effectively automating tests related to the PriceFx solution.
As a foundation for starting with the test automation, it would be good to have some basic knowledge of PriceFx application.
LEARN MORE: To learn more about Unity’s common functionality, click here.
LEARN MORE: To learn about Unity’s application modules, click here.
Test Automation Tools
Before using test automation, there are some the tools required for using Cypress, a popular test automation framework. Here are the tools needed and their purposes:
An IDE tool: This is used for viewing and updating the code of the tests. The recommended IDE tool is Visual Studio Code, but other editors like IntelliJ Idea can also be used.
Git: This is for version control of the code. It can be used directly in Visual Studio Code, in the command line, or with a tool like Sourcetree. The text also mentions some basic Git commands needed for test automation, such as clone, fetch, pull, stage, commit, push, create, merge branch.
Node.js: This is required for using Cypress. While Cypress can be downloaded as an installation file without Node.js, having Node.js installed ensures clear functionality. The text also provides a command to check the installed version of Node.js.
Npm (Node Package Manager): it is installed directly with Node.js and is commonly used for managing packages and dependencies in Node.js projects.
These tools are essential for setting up the environment and managing the codebase when using Cypress for test automation.
You need to have the following tools installed in order to use Cypress:
Using An IDE tool
Link: https://code.visualstudio.com/
tool for viewing and updating code of the tests
you can use also another editor on environment which allows you to display and edit the project (e.c. IntellIJ Idea)
b) Git
Link: https://git-scm.com/downloads
for version control of the code
could be used directly in Visual Studio Code, in command line or tool like a Sourcetree
git basics for developersGit Basics
knowledge needed for test automation:
clone, fetch, pull, stage, commit, push
create, merge branch
c) Node.js
Link: https://nodejs.org/en/
when you download cypress only as a installation file, it will work without node.js, but for clear functionality you need to have node.js installed
You can check your actual version of node.js by command “node -v” in the command line
d) Package manager
it is for installing and running plugins and dependencies for cypress tests (and cypress as well)
on your computer needs to be installed one of the package managers (Npm or Yarn)
npm is installed directly with Node.js
locally you can choose, but on the server side it is used Yarn
Link: yarn install: https://classic.yarnpkg.com/en/docs/install/
install Yarn in your command line:
npm install --global yarn
Info: