--- title: "Exporting Only Unit Tests From Existing Projects" slug: "exporting-only-unit-tests-from-existing-projects" updated: 2023-04-12T11:57:58Z published: 2023-04-12T11:57:58Z canonical: "documentation.decisions.com/exporting-only-unit-tests-from-existing-projects" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Exporting Only Unit Tests From Existing Projects Example Lab ArticleWhile Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released. --- ## Overview | ## Example Lab Details | | --- | | **Version** | 6.13.0 | | **Root Folder** | Example Lab - Export Unit Test for Selected Project | | **Modules** | None | | **Dependencies** | None | This Example Lab Project demonstrates how to export only the unit test from a specified project in the user's Decisions instance. --- ## Explanation For this example, it is assumed the unit tests are already added to the project. The First Form will ask for the Project name. This will need to be the exact project name(ie, caps and spacing). The Fetch Entities step fetches all objects associated with that Project. The "Rule Collection" step filters the Fetch entities results to only output unit tests. The second form shows all the units test that were found for the project. The Export entities step exports all the unit tests into a zip file. The third form allows us to download that zip file. Reference ArticlesAbout the Fetch Entities Step About the Rule Collection Filter Step ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1611065500773.png) --- ## Project Download The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version 6.13.0 or later using our [Importing/Exporting](https://documentation.decisions.com/docs/importing-and-exporting-projects) article. [ExampleLab[ExportUnitTestForSelectedProject].zip](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/ExampleLab%5BExportUnitTestForSelectedProject%5D.zip) ---