Hide
In this article
Overview
HackerRank Tests based on Front-end, Back-end, or Full-Stack Developer roles provide developers an option to use the git-based IDE in their local to solve Project type problems. This article describes how you can use your local IDE to solve Project type problems in HackerRank tests.
Answering Projects assessments
- Click on the Start Test button from your test invitation email to launch the assessment portal.
- Please read the instructions and try our Sample test to familiarize yourself with the platform.
- After reading the instructions, please scroll down. Here you can choose the mode in which you want to answer. If you choose Local Environment, you have to meet the software requirements.
- Once all the software requirements are met, click on Continue and fill out the Confirmation Form.
- Sign up with your required details (name, email address, years of experience, etc.) and click on Continue.
- HackerRank will set up the Environment. Once it is done, you can launch the test by clicking on Go To Test.
- Click Solve to answer a particular question. The test's question type will be based on the role you have applied for.
- On the next page, under "Clone git repository," copy the project's git link to download the project on your local machine via a terminal.
- Watch the snippet below to learn more about cloning the git repository.
- You can find all your commits and browse the files in a read-only browser, as shown in the below screenshot. Every time you push a new commit by adding a temporary file to the project, this section will reload to show you your latest commits.
- You can click on the Run Tests button in the lower right corner of the page to test your code.
- Click on the Submit Test button to submit your code. You can submit as many times as you want. Remember that your code on the "master" branch will be considered for your final evaluation.
- Alternatively, you can also use the HackerRank online IDE to write your code and submit your solution. Click on the button as shown in the below screenshot to switch to an online IDE.
- Be mindful of the following points while solving questions in the online IDE.
- Click Run and then Install to install build dependencies.
- Click the Run button on the menu bar of the IDE to run the code.
- Click on Open Preview to view the application website.
- Always save your code before you view the app. You will be asked to enable the popups, and then the app is launched in another tab. With this feature, you can see your changes to the code in real time.
- Click on Terminal from the menu bar to open the Terminal
- Do not modify ids or classes for the existing UI elements because they are required for the unit tests.
- If the total test time elapses, you will be automatically logged out of the test. In this case, we use your latest auto-saved code on our IDE to evaluate your test.
- Click Submit Code and continue at the bottom right corner of your screen to submit the question if you are satisfied with your answer.
- You can revisit your submitted answers and modify the submissions any number of times before the test ends.