LEARNING OUTCOME
Hiring Managers and Recruiters will learn how to upload all the Test cases of a Question at once.
To upload all the Test cases at once
- Login to your WeCP account as a Recruiter or Hiring Manager.
- Select the concerned Test from the home page and navigate to the Questions tab at the top.
- Click on the down arrow in the Section, to view all the questions of that section, or click on Expand All to view the questions in all the sections.
- Choose the question to which you want to add Test cases and click on the pencil icon corresponding to it.
- Further, in the Question Editor, click on the Testcases tab.
- You must follow the following format to upload all the Test cases at once:
1
The file should be named as 'testcases'.
2
There must be 2 folders inside this file, named 'input' and 'output' respectively.
3
All the input test cases should be named as 'input00.txt', 'input01.txt', and so on.
You must not skip any serial number in between.
All these text cases must be contained inside the file called 'input'.4
All the output test cases should be named as 'output00.txt', 'output01.txt', and so on.
You must not skip any serial number in between.
All these text cases must be contained inside the file called 'output'.5 If there is an input testcase named 'input00.txt', its expected and corresponding output should be stored in 'output00.txt'. - Once the Test cases are arranged according to the format, you must compress the Test cases file and zip it.
- Click on Upload Testcases in the Question editor and upload the Test cases zip file.
- All your Test cases will be uploaded at once successfully.
Comments
0 comments
Please sign in to leave a comment.