To test if the digital outputs are working: put an indicator LED on each of the outputs and use digitalWrite() to set them to high and then low.
To see if the analog inputs are working- apply a known voltage to the pin, use analogRead() and see if the value is what you'd expect it to be.
Or do you have some more specific questions about what exactly you should do?