> For the complete documentation index, see [llms.txt](https://funtest-1.gitbook.io/funtest-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://funtest-1.gitbook.io/funtest-documentation/product-tour/create-your-first-project.md).

# Create your first project

This page describes how to create project in FunTEST

## FunTEST File Structure

{% hint style="info" %}
FunTEST uses 3 types of files for test management

1. **Projects**
   * Projects purpose is to organize individual Test Files (Sequences) and assign Test Stations to Test files
2. **Test Stations**
   * Test Stations define the hardware interface i.e. plugins for equipment control and test points and I/O mapping
3. **Test Files**
   * Test Files is where the developed sequence is stored in a spreadsheet format

{% endhint %}

To access the file structure in FunTEST go to **Administrator > Project and test stations.** Here you can see the list of projects (right) and test stations (left)

<figure><img src="https://3835935664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F10lD1MSN8sl0KAFokfI3%2Fuploads%2F61s0MteXhM9VN5qpyCZn%2F2023-10-18_11h51_43.png?alt=media&amp;token=ec56dcb3-599b-4d61-b9f2-77d201d43b05" alt="" width="563"><figcaption><p><strong>List of projects (right) and test stations (left)</strong></p></figcaption></figure>

### Creating Project

1. Click on New
2. Type Name of Project
3. Assign picture (optional)
4. Assign Test Station

<figure><img src="https://3835935664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F10lD1MSN8sl0KAFokfI3%2Fuploads%2FfIFB1IONdjg48DYfaYZu%2F2023-10-18_11h53_22.png?alt=media&amp;token=e91001a0-cafc-4c79-ac01-e20b026c6b46" alt=""><figcaption><p>List of projects screen</p></figcaption></figure>

### Creating Test Station

1. Click on New and enter Test Station Name

2. Select which plugins will be re-initialize before each execution<br>

   <figure><img src="https://3835935664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F10lD1MSN8sl0KAFokfI3%2Fuploads%2FpaU0I3WmPLUycqGr1PjF%2F2023-10-18_12h08_27.png?alt=media&amp;token=171f8c99-5865-4935-a8d3-28e90f3b049f" alt=""><figcaption><p>List of Test Station Screen</p></figcaption></figure>

3. In Devices tab select which devices will be used in the test station.<br>

   <figure><img src="https://3835935664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F10lD1MSN8sl0KAFokfI3%2Fuploads%2F9dRUcSsVTCHmnapS5AH4%2F2023-10-18_13h37_01.png?alt=media&amp;token=91474b65-4a99-4b90-84ed-657686c362a5" alt=""><figcaption><p>List of devices for a selected Test Station</p></figcaption></figure>

4. By double-clicking on the device write the alias and any commands you want to automatically send when the test file opens\
   **What is an alias?** Alias is the name you use to refer to this device from your test sequence. Choose a name that describes what the connected devices is such as DMM, DUT, PSU, etc....<br>

   <figure><img src="https://3835935664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F10lD1MSN8sl0KAFokfI3%2Fuploads%2For73kzGzqilMZkZOc0J6%2F2023-10-18_13h39_12.png?alt=media&amp;token=66a3c72f-2a47-47ee-8768-dac59dd22abf" alt=""><figcaption><p>Detailed Setting of a device</p></figcaption></figure>

5. Finally in the IO and MX mapping you can assign aliases to specific digital inputs/outputs and test points.\
   Same as in previous steps the Pin alias is to be used in a test sequnce to reference a specific I/O or a test point.<br>

   <figure><img src="https://3835935664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F10lD1MSN8sl0KAFokfI3%2Fuploads%2FYPRgGFeJjcpRz6tj4QdM%2F2023-10-18_13h43_02.png?alt=media&amp;token=69c60a99-da29-4472-945d-c7388ebcd8d6" alt=""><figcaption><p>IO mapping screen</p></figcaption></figure>

{% hint style="info" %}
**What is an alias?** Alias is the name you use to refer to a device, digital I/O, or a test point from your test sequence. Choose a name that describes what the connected device is such as DMM, DUT, PSU, etc....\
This makes your test sequence readable and user friendly
{% endhint %}

### Creating Test File

To create a project:

1. Select a Project and click on Test Files Tab
2. Click on Add -> New/Existing File&#x20;
3. Enter Test File name
4. Click Ok

<figure><img src="https://3835935664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F10lD1MSN8sl0KAFokfI3%2Fuploads%2FyULoU8hFFiajY6nTEBL1%2F2023-10-18_12h06_01.png?alt=media&amp;token=76d77b47-6da8-4f3a-8fdc-63218a8dd97f" alt=""><figcaption><p>Test File window under a selected project</p></figcaption></figure>

The last step before you can go ahead and start creating a test sequence is to connect your test hardware. This is done using FunTEST Plugin Architecture.
