Easier way to test stuff?

Discussion forum for Extension Writers regarding Extension Development.
Post Reply
User avatar
Toxyy
Registered User
Posts: 944
Joined: Mon Oct 24, 2016 3:22 pm
Location: Namek
Contact:

Easier way to test stuff?

Post by Toxyy »

So I need to test all mcp functions, splitting, splitting multiple posts, merging posts, merging topics, etc. I'd rather not have to do them all manually... is there some test file I could edit and run that would take care of this? Then I'd only have to run the file, see what's broken, fix it, run it again, etc.

Also...is there a good way to see if the query I wrote works in postgres, sqlite, etc, without having to make a board that has it installed?
I am a web developer/administrator, specializing in forums. If you have work you need done or are too lazy to do, pm me!

Some of my extensions:
[3.3][BETA] Post Form Templates || [3.3][BETA] Anonymous Posts || [3.2][3.3][BETA] ACP Merge Child Forums || [3.2][BETA] Sticky Ad || [3.2][DEV] User Delete Topics || [3.3][DEV] Moderate While Searching || [3.3][RC] Short Number Twig Extension
User avatar
GanstaZ
Registered User
Posts: 1187
Joined: Wed Oct 11, 2017 10:29 pm
Location: GZOverse

Re: Easier way to test stuff?

Post by GanstaZ »

You can take a look at testing section => Tutorial: Testing. Of course there's more info around, but it's a start.
Last edited by GanstaZ on Sun Jan 13, 2019 1:30 am, edited 1 time in total.
Usus est magister optimus! phpBB pre-Triton & latest php environment.
When answer lies in the question, question becomes redundant!
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5859
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: Easier way to test stuff?

Post by MattF »

Formerly known as VSEMy ExtensionsPlease do not PM me for support.
Post Reply

Return to “Extension Writers Discussion”