What is the best way to test an addon that you are working on?

What is the best way to test an addon that you are working on?
Is singleplayer equal to a dedicated server?

The server I use to test my addons is down because it didn’t auto-payed this month so we are waiting the support for it but i need to continue my addon. What is the best way to test it?

Use a listen server or srcds, you can set up srcds on your computer you don’t need to pay for a server.

The server is from my community’s server but i use to test my scripts on it with the people.

What is a listen server?

EDIT: I tried my script in a listen server but it not even work. Is that normal?

Do we really need to ask you what script are you testing?

I’m testing a custom stamina system for my server.