If the GOP views it this way, they will have learned nothing from the cautionary tale of Obama and Pelosi. Demanding ideological purity and alienating non-ideological conservatives/independents would be plainly idiotic.
Reagan - the architect of the new conservatism at the electoral level in the modern age - understood this and never campaigned or governed with litmus tests in mind. Recall that Reagan's genius was inviting and welcoming "Reagan Democrats" into the fold - hardly ideological mirrors to the Right's platform of principles, but who values and most fundamental principles found a home in a coalition in the GOP.
FDR did the same thing a few generations before.
The Democratic Party has become - particularly since 2008 - a very narrow group of interests: (1) unions (especially public sector ones) in an era where unions are not popular and very few people belong to one, (2) special interest ethnic voters (as opposed to ethnicities as a whole, but still high percentages of ethnic minorities), (3) gentry liberal/urban hipsters, and (4) hard-left single-issue warriors (pro-choice, gay rights, etc.). This is not a governing coalition - not in American politics.
The GOP has the same opportunity now to build that coalition. More voters identify as "conservative" in recent polls than they have in a long time. The GOP needs a Reaganesque leader to forge that coalition - he or she doesn't have to be Reagan, he or she only need to have Reagain's inclusive approach and ability to define the Democrats in increasingly narrow terms.
And litmus-testers - who instead do the opposite and demand an increasingly narrow party for themselves - will derail that entire endeavor.