According to Tasnim News Agency, the fighter conducted the first demonstration flight during a special ceremony attended by Iranian President Hassan Rouhani.
The jet is capable of carrying various weapons and could be used for aerial support missions, the news agency added.
Iran is currently facing the reintroduction of US sanctions. Part of the restrictions against Iran went into force earlier this month, while the second portion is expected to take effect in the fall. In May, US President Donald Trump said that the United States would leave Iran's nuclear deal, which stipulated that Tehran should ensure the peaceful nature of its missile program in exchange for gradual lifting of international sanctions.