# Setting up a test case

After creating a test case, you need to complete a few settings for your test case to work. These settings include adding test instances, if required, and specifying the input and reference files.

Before you can run the test case or its instances, you need to specify the input and reference files in the Context view and/or define embedded data sets in the Test Cases view.

### In this section

* [Adding test instances](https://help.qlik.com/talend/en-US/studio-user-guide/8.0-R2024-05/adding-test-instances)
* [Defining context variables for the test data](https://help.qlik.com/talend/en-US/studio-user-guide/8.0-R2024-05/defining-context-variables-for-test-data)
* [Defining embedded data sets](https://help.qlik.com/talend/en-US/studio-user-guide/8.0-R2024-05/defining-embedded-data-sets)