Skip to main content
When Equip’s library does not have the problem you want candidates to solve, use Custom Tests to create your own Programming Test with your problem statement, languages, boilerplates and test cases.
Equip recommends its own coding content for most teams. Each library question has been attempted by thousands of candidates, so it is proven to work. Build a custom challenge only when you need a problem the library does not cover, because a small setup mistake can mark every submission incorrect. See Equip Content vs Custom Content.

Creating the Test

1

Open Custom Tests

Open Custom Tests from the sidebar of your Assessments Dashboard.
Recruiter sidebar with the Assessments section expanded, listing How It Works, Dashboard, Insights, Custom Tests, Usage and Latest Attempts

Custom Tests in the Assessments section of the sidebar

2

Create a new programming test

Click the Programming tab, then New programming test.
3

Fill in the three tabs

Write the problem on the Statement tab, pick languages and write boilerplates on the Code tab, and add test cases on the Tests tab. Each tab is described below.
4

Set the title, duration and anti-cheating options

Open the test’s Settings and fill in the fields described in Settings, then click Save.

The Editor at a Glance

Statement

Write the problem in Markdown on the left; the right side shows exactly what candidates will see. State what the program should do, the input format, the output format, and an example.
Statement tab of a custom programming test with Markdown on the left and what candidates see on the right, for the First Character of a String problem

The problem statement, in Markdown with a live preview

Spell out the input and output formats even when they seem obvious. Candidates used to another platform get stuck when the format is left to guesswork.

Code

A candidate never sees a blank file. They see your boilerplate: starter code with a single function left for them to fill in, while your code around it reads their input and prints their output. Each enabled language has two boilerplate fields:
Code tab for Python3 with the User Boilerplate holding the extract_first_char function stub, and the Compiler Boilerplate reading input and printing extract_first_char of it

The candidate's function and the hidden input and output code

Test cases run against the whole program, not just the candidate’s function. If the Compiler Boilerplate of any enabled language has a bug, every submission in that language fails, even correct ones.
See Supported Programming Languages for the languages and versions available. If you need a language that is not listed, contact us on live chat or email hello@equip.co, and we can enable it for your account.

Tests

Programming tests are auto-evaluated: Equip runs each submission against your test cases and grades it automatically. Each test case is an Input (stdin) and an Expected output.
Tests tab of a custom programming test with the sample test case equip giving e, and hidden test cases hello giving h, Zebra giving Z, and a giving a, counted as 4 of 16 testcases

One sample and three hidden test cases

A programming test allows up to 16 test cases in total, sample and hidden combined.
Be exact with input and output formats. A stray space or a missing newline in an expected output can mark every submission incorrect. Include boundary values too, or incorrect solutions can still score full marks.

Settings

Open the test’s Settings tab to set the rest.
Anti-cheating settings of a custom programming test with Disable copy and paste and Auto-submit on tab switch switches, and an If count exceeds field for the number of tab switches allowed

Anti-cheating settings of a programming test

Copy and paste stays enabled when you preview the test yourself, for an easier review. Any switch away from the tab counts, even clicking an antivirus or low-battery popup.

Example 1: Single-Line Input

Problem statement: Given a string, return its first character. For the input equip, the output is e. The test case is that pair: input equip, expected output e. The boilerplate reads one line, calls the candidate’s function and prints the result:

Example 2: Multi-Line Input

Problem statement: Given an array and an index, return the value at that index. The input arrives as three lines:
The first line is the array’s length, the second is the array, and the third is the index. For this input, the expected output is 3. The Compiler Boilerplate now reads three lines and builds structured data before calling the candidate’s function:
Do the parsing in the Compiler Boilerplate, so the candidate’s function gets clean, typed values and candidates are tested on the problem, not on input formatting.

Checking the Test Before Inviting Candidates

An input or output bug does not fail loudly. It marks every submission wrong, and you may only find out after candidates have finished. Confirm that a correct solution passes every test case in every enabled language first.
1

Review the problem statement

Check that the input format, output format and any constraints are stated explicitly.
2

Check the boilerplate for every language

Verify both boilerplates for each enabled language, not just the one you wrote the question in.
3

Verify the test cases

Work through them by hand. Confirm each expected output matches exactly, including spacing and line breaks.
4

Solve it in Preview

Add the test to an assessment and open it in Preview. Submit a known-correct solution in each enabled language and confirm every test case passes. Previews are free and unlimited for your whole team.
If you randomize coding questions, check every question in the pool the same way.

Adding the Test to an Assessment

A custom test cannot be shared with candidates directly. It must sit inside an assessment.
1

Open the assessment's Tests tab

Open the settings of a new or existing assessment and select the Tests tab. Click Programming in the left sidebar.
2

Add your test

Click the Add Programming button and select My Content, then pick your custom programming test.
The Add Programming button in an assessment's Tests tab with its menu open, offering Equip Content and My Content

Add Programming, then My Content

Each programming test holds one question. To give different candidates different problems, create several custom tests and use the randomize option in the assessment. See Randomizing Programming and SQL Questions.

Getting Help

Equip’s support team cannot triage custom coding questions. When one misbehaves, the cause is almost always in its setup, and the checks above resolve the vast majority of issues.
If the skill you want to test would be useful to other companies too, Equip can create the test for you, usually free of charge. Reach out on live chat or email hello@equip.co; most skills take around 5 business days. See Can’t Find a Role or Skill?.