Many cheap commercial electronic loads claim 'reverse polarity protection' as a feature but in reality they just have an Max Eload current rated fuse to protect the Eload and maybe a led to inform you your DUT is being shorted, they do not actually prevent the S/C and offer no protection to the DUT. If it's a requirement to protect the DUT from possible S/C then here's a few methods of reverse polarity protection :-
Schottky diode .
Advantages :- Very simple , fast
Disadvantages :- extra Voltage drop (1V or so at high current) this limit's your eload
current when working with Dut's of low input voltages (e.g working with 1.2V or lower batteries). At high current ratings the power dissipation means it must be fairly large and just as expensive as the alternative low rds mosfet.
A reversed drain/source Nmos used as a Low Vf diode.
Advantages :- Very little forward voltage drop and power dissipation so something like a to220 case will be sufficient. Also Fast.
disadvantages :- extra circuitry to drive it.
Here's a very rough schematic of a one way to drive a reverse polarity protection Nmos.
Below is how I did it in an old diy eload project, It was a bit trickier than the above since it was a multiple output range Eload and one reverse mosfet was used to provide RP protection to all the output's.
Because of the way I chose to implement multiple ranges In that version it made it's placement less than ideal.
A TVS diode was used on the input's to provide transient over-voltage protection.
https://www.eevblog.com/forum/projects/fully-portable-150w12a-e-loadcurrent-reg-with-multiple-ranges/msg233642/#msg233642.But what also about forward S/C protection. ?
If C.C load intended main use is to work with batteries then it should really also have some form of over current protection internally (fire hazard : especially lithium based batteries if they are shorted and no ones present) (if no internal protection then I would always use a suitably rated inline fuse in the test lead or fitted on the battery cradle that's used when working with batteries). Main Mosfets going S/C are certainly not unknown in electronic load's.
If eload is only low current device (<5A) then an internal similar rated fast fuse 'may' suffice for this
but if eload is rated higher (say 10A) then a similar rated internal fuse is just too high to be useful to protect batteries from overheating in event of fault. So some sort of programmable over current protection would be a good idea which can be set to trip at some slightly higher value than the current Eload setting. A mechanical relay (a few 10's of mS trip time) or ss relay (< 10 uS trip time) could be used for this and since they are bidirectional a single device could provide both forward over current and reverse polarity protection. A mechanical (S.P.N.O) relay with typically a few 10's of mS opening time isn't going to offer Efuse trip speed's or micro Second RP protection but it's plenty fast enough to protect batteries, wires, pcb traces and larger components in DUT's. You can buy 'efuse' and high side 'load switches' which may offer similar features but at typical eload current ratings it's going to be a lot cheaper and more rewarding to roll your own from a relay/mosfet's and a driver/comparator If you enjoy building/designing your own eload.
To use that relay also for RP Protection as a previous poster suggested you would use the uC to test the input's of the eload for presence of a reverse polarity voltage BEFORE you enabled the relay so prevent 90% of miss-connections right there, then you can perhaps pole the input's at say 1mS intervals during use to test if RP present.
Regards