# Exercise 2.8: Testing content types

## Content test - manual

Create a Job listing manually.

1. Go to *Content ->* *Add content* → **Job posting**.
2. On the Add Job posting form, enter the following information:

   * **Job Title** – Police Officers
   * Terms of employment – Permanent
   * Geographical Region: Victoria
   * **Job Description** – Victoria Police is looking for more than 3000 people across the state in their biggest recruitment drive ever. If you’re interested in keeping Victorian communities safe and want a challenging and rewarding career, then join the force.

   <img src="https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2Fgit-blob-15a672d6c8bbfd15c3b91c473d2f1d411e3802e2%2FUnit-2-Testing-Content-Types-1.png?alt=media" alt="Image of Create Job posting" data-size="original">
3. Leave all remaining default settings.
4. Click **Save**.

You should now see your newly created Job Posting.

![Image of Job posting](https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2Fgit-blob-42952aedd7d5867789be8b361620633ae753292f%2FUnit-2-Testing-Content-Types-2.png?alt=media)

## Content test – generated content

Often we need content to help test new content types. However, creating content manually can be very time consuming. Instead, we can use the Devel Generate – a module, bundled in GovCMS.

**Note:** The Devel Generate module should not be enabled or used in a production website.

This module is already enabled on your training environment.

1. Go to *Configuration* → *Generate* → **Generate content**.
2. Select the Job Posting checkbox.
3. Enter 10 in the **How many nodes would you like to generate?** field.
4. Click **Generate** button.

![Image of Job posting](https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2Fgit-blob-b8cb6e1c84e90834fe1e927518c734640f2bbb13%2FUnit-2-Testing-Content-Types-3.png?alt=media)

{% hint style="info" %}
**Note**: Content generated by the Devel Generate module is not published by default – this is due to active content moderation workflow. Make sure you publish content if necessary.
{% endhint %}
