Tendonitis is an injury resulting from overuse which results in inflammation, and swelling in the tendon which results in pain.
Usually, a physical exam alone can diagnose tendinitis. X-rays or other imaging tests might be used to rule out other conditions that could be causing the symptoms.