How to test car battery and alternator yourself

How to test car battery and alternator yourself