If it is to just test the battery, you can get a quick free test at autozone. It will only identify whether the battery is any good. Dealer can do the same thing but why wait if you don't have to. If your truck wasn't under warranty, you might get charged by a dealer.
If it requires more tests...