You can help track and manage your test file dependencies by creating a project for your test file and the files it depends on. Examples of test file dependencies include requirements, data files, callbacks, test harnesses, and custom criteria scripts. Packaging test file dependencies in a project also helps you share tests with other users.
In the Test Browser, right-click the test file.
Select Project > Create Project from Test File.
Project opens and identifies the file dependencies of the test file. In this example, the test file contains a test case with a requirements link, an input file, and a baseline file.
Specify project name, and verify the list of selected file dependencies.
You can find test file dependencies from the Test Browser. Your test file must be saved in a Simulink® project.
Right-click the test file. Select Project > Find Dependencies.
Dependencies are color coded in the file dependency graph.
If you want to change a model or requirement, you can determine the potential impact of the change on your tests.
In the dependency graph, select the item that could impact your tests.
In the Project toolstrip, click Find > Files Impacted by Selection.
If you want to run a test file again, then you can right-click the test file in the graph and select Run. The Test Manager opens the test file and runs the test cases contained in it.
You can easily share test files that are already saved in a project. If you send the project folder, it contains the file dependencies for the test file.