# Collection mocks

To create a collection mock, start by creating a collection and adding quizzes to it that contain tagged questions. Alternatively if you have an existing collection that contains tagged quizzes you can use that.

Once you have a collection setup, navigate to the 'Mocks' tab within the collection.

<figure><img src="https://3316915154-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkgvUeCmTPeNouRxGPC%2Fuploads%2FoohPDt5UTUjZKx6FZIpW%2FScreenshot%202024-04-18%20at%2016.17.18.png?alt=media&#x26;token=cde35a78-e98d-4145-9cab-6ed576bc3040" alt=""><figcaption><p>Select the 'Mocks' tab to begin setting up your collection mocks</p></figcaption></figure>

Next, select the 'Create Mock' button. Then you can define the title of your mock, the length and a passing score.&#x20;

<figure><img src="https://3316915154-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkgvUeCmTPeNouRxGPC%2Fuploads%2FJ2gFONT6FhCyIkUndHOK%2FScreenshot%202024-04-18%20at%2016.18.10.png?alt=media&#x26;token=51f7f16d-7a5c-495e-a610-7a7607411e71" alt=""><figcaption><p>Make sure to define your mocks title, question length and pass score</p></figcaption></figure>

Then select the 'Add filter' button to start definine your tag rules. You'll need to specify how many questions you want to chose and that they are tagged with.

Once you are happy with your collection make sure to click 'Done'.

<figure><img src="https://3316915154-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkgvUeCmTPeNouRxGPC%2Fuploads%2FzNdlPA7CemS07aWxuuba%2FScreenshot%202024-04-18%20at%2016.19.38.png?alt=media&#x26;token=3548dbe1-49a9-40b7-8dd0-cbea66d40dfe" alt=""><figcaption><p>Enter the number of questions and the tags that have been put on those questions</p></figcaption></figure>

{% hint style="warning" %}
Tag validation is not enforced on collection mocks due to the flexible nature of tests in a collection. Please ensure you have enough tagged questions for the rules you are setting.
{% endhint %}

You can use multiple filters to define the questions you want to be pulled in to the mock.

<figure><img src="https://3316915154-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkgvUeCmTPeNouRxGPC%2Fuploads%2FCngbY38wem6MEMLYGfpp%2FScreenshot%202024-04-18%20at%2016.21.16.png?alt=media&#x26;token=a904a3a7-f4a2-4c04-96b5-51e4626b1836" alt=""><figcaption><p>Use multiple filters to be selective with your tags</p></figcaption></figure>

Once you have finished inputting your filters click the 'Done' button in the bottom right to finalise your selection. Then click Save in the upper right corner to save the mock and make it available to your users.

<figure><img src="https://3316915154-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkgvUeCmTPeNouRxGPC%2Fuploads%2FGg8Lfefgag84xwwyz2gO%2FScreenshot%202024-04-18%20at%2016.24.07.png?alt=media&#x26;token=e11b8fa1-c4c3-4102-b2ea-5d829bfe8ec7" alt=""><figcaption><p>Make sure to click 'Save' to make the mock available to your users</p></figcaption></figure>

And thats it! Now users with access to that collection can generate a mock based on your tag filters.
