Set Up and Use Coding Tests on Testlify

Testlify provides 200+ coding tests across 40+ programming languages and 3 databases, letting you assess technical candidates quickly and confidently. Use a pre-built test from the library or build a custom question from scratch.

Before you begin

Make sure you have an active Testlify workspace. Review the full list of supported programming languages and databases before building your assessment.

Watch this quick demo to see the full flow:

Option 1: Add a pre-built coding test from the library

  1. Log in to your Testlify workspace and click Create Assessment.

    Testlify dashboard with the Create Assessment button

  2. Enter the Job role and click Next.

    Job role field on the first step of Setup assessment

  3. On the Tests tab, type coding in the search box. Use the Test Type and Difficulty level filters to narrow results, then click Add on the test you want.

    Test library on the Tests step with the search box and filters highlighted


    Test library filtered to coding tests with Test Type and Difficulty level filters


    Coding test card with the Add button highlighted

  4. Confirm the test appears in your assessment cart.

    Assessment cart on the right showing the added coding test

  5. Click Next through to the Questions tab, then Next again to reach Settings. Configure proctoring options and click Save.

Option 2: Create a custom coding question

  1. From the Questions tab, select Coding from the custom question types.

    Questions tab with Coding selected from the custom question types

  2. Choose a Coding type:
    • Single file — tests proficiency in a single programming language (e.g., Python).
    • Multiple files (project) — tests candidates on real-world projects requiring multi-file code management, dependency handling, and file organization.

Configure a Single file question

Add coding question form with completion time, language, question, test cases and scoring fields

  1. Fill in the question fields:
    • Completion time and Difficulty level
    • Question and Language
    • Test cases and Scoring

      Language picker listing the programming languages available for a coding question

      Add test case dialog with Input and Expected output fields

      Add coding question form with the Scoring method option highlighted

  2. Select a Scoring method:
    • Question level — full marks only if all test cases pass; one failure results in a score of 0.
    • Test case level — each passing test case earns partial credit. See the test case level scoring guide for details.

      Scoring method options: Question level and Test case level

  3. The coding window includes starter code by default. Delete it to require candidates to write from scratch, or click Reset to restore the default structure.

    Coding window with the default starter code


    Coding window with the Reset button to restore the starter code

  4. Click Add to save the question to your assessment cart.

    Add coding question form with the Add button


    Assessment cart showing the new custom coding question

Configure a Database question

Select Database as the language type to create a SQL-style question. Database questions use Question level scoring only.

Language picker with the Database tab selected for SQL questions

  1. Set the Completion time, Difficulty level, and Question.

    Database question form with completion time, difficulty level and question fields

  2. Click Preview to review how the question appears to candidates before adding it.

    Preview of a database question as candidates see it

Configure a Multiple files (project) question

Tip: Coding projects typically take 45–60 minutes. Allow adequate time so candidates can fully demonstrate their skills.

Language picker for a Multiple files coding project

  1. Select the Difficulty level, enter your Question, and choose a language template from the drop-down. Multiple files (project) uses Question level scoring only.

    Multiple files project form with difficulty level, question and language template

  2. Click Preview to review the candidate view.

    Preview of a Multiple files coding project as candidates see it

Proctoring and settings

Before saving, enable the proctoring options you need to maintain assessment integrity.

Settings step with proctoring options for the assessment

Additional assessment settings before saving

Click Save. Your coding assessment is ready to send.

Candidate experience

Candidates receive an email with their assessment link and coding test details.

Assessment invitation email with the link to start the test

  1. The candidate opens the link, reviews the instructions, and can click Try sample test to practice before starting.

    Assessment instructions page with the Try sample test option


    Sample coding test the candidate can practise on

  2. After the practice session, clicking End sample test returns them to the instructions page. They click Start to begin the actual test.

    End sample test button that returns the candidate to the instructions

  3. During the test, the candidate enters Input and clicks Run code to check their solution, or clicks Run test cases to validate against all test cases.

    Coding question with the Input box and Run code button


    Code output panel showing the results of the candidate’s run

  4. Clicking Submit before the timer ends shows a confirmation prompt to prevent accidental submission.

    Submit confirmation prompt shown before the timer ends

  5. After submission, a thank-you screen confirms the test is complete.

Choose single-file or multi-file coding

  • Single file: best for algorithm and function-based problems and quick technical screening. Answers are scored automatically against test cases. Add both visible test cases (candidates see them) and hidden test cases (used for scoring).
  • Multiple files (project): best for real-world backend or frontend tasks and live coding interviews. These are usually reviewed manually.

A common approach is single-file questions for first-round screening and multi-file projects for later rounds. Set realistic time limits, for example 45 to 60 minutes for mid-level or senior roles.

Run a live coding interview

  1. Create an assessment with a multiple files (project) coding question.
  2. Invite the candidate and share the test link with them during your video call.
  3. The candidate writes and runs code in real time while you watch and evaluate.

Need help? Contact support@testlify.com.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us