Actually I am making my PhD studies that is in the field of Computer Science and its algorithms related. There is one part in which for proving my ideas I have to program a web related extensive set of tests, but currently I really do not have time to program it. I have met a friend that is following an undergraduate degree in CS and he has been working in web development and programming for almost two years.
The question is if it would be ethical to tell him to program some parts that I need for make the testing. I was thinking to include him as a co-author in some papers that I am planning to do based on my current research, because I consider is the right thing to do. Would that be fair?