Firearms officers and a dog unit showed how they would deal with a knife-wielding assailant entering a Wiltshire school.