I'm a developer who just started doing some consulting work at a small third party company on a temporary basis (a few months). I was asked to help out on a small side project in a different team, as there is only one developer in that team and I have enough time to do both. The supervisor hasn't written code in years, and the company has no formal development process in place, and as such they don't do code reviews for example.
Even though my coworker on that team has been a developer for longer than I am, it seems he/she has very little experience, even regarding basic programming paradigms in their language of choice. There is also very little initiative on his/her part, but that might be due to a cultural and/or personality difference.
I feel like all progress is due to my work, and it's probably going to be viewed as a team effort. I never thought this would bother me, but actually typing it out feels unfair. On the other hand, there is no direct benefit for me to speak up and potentially stir up "undefined behavior" in a team that's very friendly and easy going, and I don't mind teaching someone. I'm not getting paid directly or based on deliverable, and will leave on a set date in the future.
Should I talk to our supervisor about this?
EDIT: thank you for your honest responses - both are great and have excellent remarks. Yesterday, I inadvertently found out that the supervisor is indeed aware of the juniority of my coworker, at least to some extent. Thanks to your input, my plan is to teach him/her what I can during my time here and not whine about getting credit. :) This is a learning experience for me as well, as your responses helped me reflect on my perspective and personality. I didn't expect to feel so strongly about my showing off achievements, and it's important to at least be aware of that. So thanks again!