I guess it would depend.
First, what's the time frame? When armor was a thing, then swordplay (also often featuring a shield) did not necessarily imply entirely avoiding all hits. When armor went out of fashion, you got fencing, and then yes, the training stressed preventing all hits, for good...