> ## Documentation Index
> Fetch the complete documentation index at: https://dime.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Fragments

> Save useful test segments for repeat use

<Note>
  This is a newer feature, and we're actively updating it. Check in with the
  team for best usage.
</Note>

<br />

Fragments let you save a test step and reuse it in future tests. You can view
your fragments at [dime.io/fragments](https://dime.io/fragments).

### Creating a fragment

Right click on a test step, then select "Save as fragment". If you want
to create a fragment including multiple steps, group them together first.

<Frame>
  <video autoPlay muted loop playsInline src="https://firebasestorage.googleapis.com/v0/b/dime-ac49e.appspot.com/o/docs%2Ffragment.mp4?alt=media" />
</Frame>

### Adding a fragment

During build, you can add a fragment using the builder menu. It'll be executed
and added to the test.

<Frame>
  <img src="https://firebasestorage.googleapis.com/v0/b/dime-ac49e.appspot.com/o/docs%2Finsertfragment.png?alt=media" />
</Frame>
