This is basically what all the cheap cable testers do.
Don't know why you're prattling on about crossover cables, though. They are not required unless you're connecting two old NICs or switches directly. Normal cables are A to A or B to B, and modern switches (anything made since, oh, the mid 90s, anything gigabit) and NICs (anything gigabit, and most recent 10/100) do not give a crap if they're straight or crossover, no matter what's on the other end.