Creating a dataset by using a CSV file
When you use variable data that is contained in a CSV file, you can import the data from the CSV file and create a dataset in IBM® DevOps Test Hub (Test Hub).
You must have completed the following tasks:
- Ensured that you are assigned a role as a Project Owner or Tester in the project. See Managing access to the server projects.
- Created a project in your team space in Test Hub. See Creating a project.
- Added the remote Git repository that contains the test resources to the project. See Adding repositories to a server project.
- Saved a CSV file that contains variable data on your computer.
When you want to create or modify any dataset, you must have an Edit branch. You can create the Edit branch during the creation of dataset. All your dataset reside in the Edit branch until you publish or discard the changes.
After you create the dataset, you can either publish your changes to a
remote Git repository or you can discard the changes made to the dataset. The Edit
branch automatically disappears from the Branch list as well
as from the remote Git repository and sets the global branch to the previously
selected branch in the following conditions:
- When you publish changes to the remote Git repository.
- When you discard the changes made in the dataset.
You can perform the following tasks:
-
Add, modify, or remove data in the dataset. See Editing a dataset.
-
Publish the dataset to the Git repository so that other members of the project can use the dataset. See Publishing changes in datasets.