Test Instance for Unit Testing: To Deploy an Instance

The following activity will walk you through the process of preparing and deploying an MYOB Acumatica instance that you can use to perform the steps in the chapters of this guide that are related to the development of unit tests.

Story

Suppose that you want to learn how to create any unit tests provided in the Unit Test Framework Guide. You need to deploy an MYOB Acumatica instance by using the MYOB Acumatica Configuration Wizard.

Process Overview

You will prepare the environment—that is, install the software that you need to use MYOB Acumatica and to create customizations for it. Then you will deploy an MYOB Acumatica instance with the data for the T280 Testing Business Logic with the Acumatica Unit Test Framework course.

Step 1: Preparing the Environment

Before you begin deploying the needed MYOB Acumatica instance, do the following:

  1. Make sure that the environment that you are going to use conforms to the System Requirements for MYOB Acumatica 2024.1.
  2. Make sure that the Web Server (IIS) features that are listed in Configuring Web Server (IIS) Features are turned on.
  3. Install the Acuminator extension for Visual Studio.
  4. Install MYOB Acumatica. On the Main Software Configuration page of the , select the Install Acumatica ERP and Install Debugger Tools check boxes.
    Tip: If you have already installed MYOB Acumatica without debugger tools, you should remove MYOB Acumatica and install it again with the Install Debugger Tools check box selected. The reinstallation of MYOB Acumatica does not affect existing MYOB Acumatica instances. For details, see To Install the MYOB Acumatica Tools.

Step 2: Deploying an MYOB Acumatica Instance

To deploy an MYOB Acumatica instance and configure it, do the following:
  1. Open the MYOB Acumatica ERP Configuration Wizard, and do the following:
    1. Click Deploy a New Acumatica ERP Instance for T-Series Developer Courses.
    2. On the Instance Configuration page, do the following:
      1. In the Training Course box, select T280 Testing Business Logic with the Acumatica Unit Test Framework.
      2. In the Local Path to the Instance box, select a folder that is outside of the C:\Program Files (x86), C:\Program Files, and C:\Users folders. (We recommend that you store the website folder outside of these folders to avoid an issue with permission to work in these folders when you customize the website.)
    3. On the Database Configuration page, make sure the name of the database is SmartFix_T280.

    The system creates a new MYOB Acumatica instance, adds a new tenant, loads the data to it, and publishes the customization project that is needed for this training course.

  2. Make sure that a Visual Studio solution is available in the App_Data\Projects\PhoneRepairShop folder of the MYOB Acumatica instance folder.

    This is the solution of the extension library that you will modify in the activities of this guide.