An easy test you can do at home to test if your alternator is bad is by opening the hood and then starting the car.
While the cars engine is running remove the negative battery cable and if the car stalls or dies then you likely have a bad alternator and will need to replace the alternator.