Job interviews are hard. It is challenging and stressful when you apply to the company as a candidate.
Nevertheless, it is also problematic if you are on the other side - as an interviewer. The hard thing is to assess the hard and soft skills of the candidate within a minimal time.
Some people say that the main thing is deep technical knowledge. Without it - the candidate is entirely useless. The others say that the better person communicates - the better teammate he/she, will be at work. The hard skills can be easily taught during the first month or so).
However, the biggest problem remains the same.
You only have one or two hours. You are not able to disclose any code under NDA. You don't want to "waste" interviewers' time on the wrong or "weak" candidate.
How can you ensure that the candidate can write a code at the appropriate level and bring "value to the table"?
In some cases, the answer is - let's give a candidate a test task to implement!. Then you can perform a code review, see the actual code and prepare additional questions for the technical interview.
It seems like a good plan. But is it excellent? Is it possible to make an "ideal" task for a test automation engineer? Let's find out together in this blog post.
Throughout my career, I was involved in interviewing QA and test automation engineers for my team and other teams within multiple companies. Also, as a part of my consultancy job, I was involved in technical assessment for some automation engineers in other organizations.
Additionally, one of my tasks was to define job descriptions for multiple test-oriented positions.
Please note that I am talking about hiring a Senior / Lead / Principal engineer in test automation.
Let's imagine - what is an "ideal" form of the task for a test automation engineer (or SDET or QA Engineer with automation skills).
Here is the caveat - the answer as always is - " it depends on ".
It depends on the testing strategy at the company level.
It depends on the technology stack.
It depends on the tools and processes within a particular Scrum team.
It depends on the product and company vision.
What should the content of the test task be?
- Should it use the public API of your product? (Imagine that the official API docs are not so up-to-date, so the candidate needs to find out many things during the implementation).
- Should it be an abstract test for an abstract site?
- Should it be a test for some test application? Do you have the engineering capacity to implement a test application and maintain it?
- Should it be only UI test automation? Or only API? What about mobile?
- What if you need to have a person to maintain an old legacy system written at Java 6?
- What if then, in 6 months, the project is planned to be migrated to another modern stack? Should a test task check Java Core knowledge? Or Selenium Webdriver API?
- How much time should a candidate spend on the test task? Is it one hour, two? Is it a couple of days?
- Do you want to compensate all candidates for time spent on the task?
- Which skills do you want to evaluate in the test task?
- Is knowledge of core programming language? Some specific tools?
- Is it APIs of third-party systems? Is it continuous integration tools and Bash scripting?
- Can your current teammates pass the test task or interview for this position? :)
Whenever you want, please remember: it is almost impossible to find the exact person that fulfills 100% of the requirements from the job description.
- You can see the actual code that engineers can write: which patterns are used, what is the structure of tests and solutions, is it understandable, maintainable, extensible; is it applies to your internal code standards?
- You can come up with additional questions which can be asked during the technical interview
- Test task may be implemented by the other person (even for some compensation)
- Test task may be implemented with the help and guidance of another person
- Other companies offer an interview process without any test tasks - so the candidate will consider them in the first place
- Candidates are not compensated for the time spent on the test task. For Junior positions, it can be considered a learning opportunity, but not for Seniors. Specifically, if you do not provide any feedback on the test task
Test tasks may work in the following cases:
- In case if the company has a solid technical brand (so everyone wants to work on that well-known product. So does the candidate)
- In case if the company or team has an engineer/scientist well-known in the community and the candidate wants to work with that specific person and learn from him/her
- In case if the company is well-known by its high salaries (way above the market) and incredible other perks
- In case if you are developing great product and the candidate loves it and wants to "improve the world."
- In case of actively contributes to Open Source and the candidate wants to do the same
Test tasks will work in the following cases:
- In case if there is high demand for the candidates, so you need to compete for the talent
- In case if the company is one of the various companies with the same profile (e.g., an outsourcing company with an immense legacy project portfolio)
- In case if the company is small and cannot compete on the salaries
- In case if the salaries are within the market and perks are the same as at your competitors
- In case if the product is not legal :)
The simple answer is: it is up to you to decide.
In case if you can and want to provide the test task - please make it open-ended. Provide a few points that should be achieved for sure, but it is up to the candidate to decide what will be an "ideal" implementation for the other improvements.
IMHO, if you have a brand and good salaries, you can try to offer a test task as a pilot project. However, track the efficiency of the process. If you lose good candidates due to the test task - maybe something should be changed in the hiring process.
If you stick to "no test tasks, only technical interviews," - ask the candidate to review existing test code, find bugs or issues in it, pattern violations.
The good thing is to ask the candidate about the Github profile and contributions to OSS. Here you can review an actual code and see whether the community approved it.
You can always ask a candidate to implement some piece of test during the technical interview.
What about you? Do you use test tasks before the technical interview?