"By the way," he told reporters, "you know when you say that we lead in cases, that's because we have more testing than anybody else."
"So when we have a lot of cases," he continued, "I don't look at that as a bad thing, I look at that as, in a certain respect, as being a good thing because it means our testing is much better."
He added: "So I view it as a badge of honour. Really, it's a badge of honour.
Trump was responding to a question about whether he was considering a travel ban on Latin America, Brazil in particular.
"It's a great tribute to the testing and all of the work that a lot of professionals have done," the president said.
According to the Centers for Disease Control, a federal agency, the US had conducted 12.6 million coronavirus tests by Tuesday.
The Democratic National Committee has criticised the Republican president's comments, tweeting that the 1.5 million Covid-19 cases in the US represented "a complete failure of leadership". Trump is seeking reelection in the November 3 presidential poll.
Meanwhile, the president said he was considering travel ban on countries from Latin America due to surge in coronavirus cases there.
"We are considering it," the President said when asked if he was considering a travel ban on Latin America, and Brazil in particular.
Brazil has over 271,000 confirmed coronavirus cases, the third highest in the world, following the US and Russia. According to Johns Hopkins data, Russia has over 308,000 confirmed cases of COVID-19.