A Project contains all the information needed to automatically execute tests against a SUT and determine whether the SUT conforms to its specification or not. It can only do this, of course, with a comprehensive suite of TestCases. The project contains information related to:
•Descriptive details about the system being tested
•The Signal Dictionary
•The location of the Regression Suites, Scenarios and TestCases, and which tests to run
•What Virtual Wiring Harness to use
•How to connect to the SUT. What settings and parameters to use.
•What should be logged during test execution
In the MxVDev test environment, you create a new project by selecting File‑>New‑>Project from the main menu. You are presented with a few wizard steps, as follows:
1.Basic Project Info - Optionally enter the company name, project name, and description for the project. These assist in tracking and are used in reports.
2.Project Location - If you already have a folder where you wish to store the test files for this project, select the "Use an existing Folder" option. Otherwise, select "Create a new folder" and enter a folder name. This is known as the project folder.
3.Enter a name for the project file. The file that stores the Project settings will have this name and will be created with .mxp as its extension.
4.Select the SUT type.
If desired, check Include a Sample Application.
If you choose Custom SUT your project setup is complete. Before you can run any tests you need to construct the Harness manually using MxTransIt, and reference the Harness from the Project. A Custom Harness gives you the most flexibility in establishing the connectivity between MxVDev and the SUT(s), but there are a few more steps to complete in building the harness. See Getting Started with MxTransIt.
Custom Harnesses are useful for the following:
•A simple HIL test using just CAN or LIN transceivers
•Simulink model testing using the Workspace connector
•Advanced HIL tests for NI, dSPACE and others
•Any project with more than one MxVMC
•Co-simulation or multi-SUT
•Custom connector transforms
•A closed-loop test or bus entirely within the Harness (MxTransIt)
You can select the No SUT option if you are ready to create tests, but there is no SUT at this time. You can change the project to one of the other options later by selecting Project->SUT Connector Settings from the main menu.
From the main menu, select File‑>Open‑>Project. Locate and select the desired MxVDev project file. It has a .mxp extension.
The information that you provided when you created a project can be updated at any time. From the main menu, select Project‑>Settings.
When MxVDev opens a project, it loads any Transforms referenced by the .mxform file. The Transform files must be located in one of the locations listed in the User Options–Additional File Locations.