So you've got a vacant Web Developer position, you've advertised on the best IT job sites, (you didn't use a recruitment agency did you?) you've got an interviewee. But how do you know if he can actually do the job? You need to test him. But how do you write a good test that is fair? Here's how...
Communicate
No one likes a surprise test. Least of all when at an interview. So let him know there'll be a test. Even let him know the topics that will be covered in the test.
For example you might say the test will cover: