₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,120 members, 8,420,470 topics. Date: Thursday, 04 June 2026 at 08:52 PM

Toggle theme

Help Needed With Phpunit For Testing - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingHelp Needed With Phpunit For Testing (1472 Views)

1 Reply (Go Down)

Help Needed With Phpunit For Testing by Cauhlins(op): 7:17pm On Jan 02, 2016
i kinda noticed alot of threads have been created for development but none for software testing.. I need a little help with testing my php programs. -i'm a newbie at testing though-.. i have been struggling with understanding the concept of writing failing tests...

... Help needed
Re: Help Needed With Phpunit For Testing by Nobody: 8:05pm On Jan 02, 2016
That mean say you don fail already be that o. I doubt if there are still great programmers on this board that can assist you with your quest.
I should be able to, but it will take several long posts and i am not a nairaland regular again, i just breeze in and breeze out. . . .
But why not head over to the phpunit website? https://phpunit.de/getting-started.html
Re: Help Needed With Phpunit For Testing by Nobody: 9:05pm On Jan 02, 2016
Well i use PHPUnit but sincerely not on my new projects, but PHPUnit, you're supposed to write your classes in Modules, where you write tests before the code , obviously it will fail then as you write your code and test them to pass. One Test suite per Module check PHPUNit
Re: Help Needed With Phpunit For Testing by Cauhlins(op): 9:45pm On Jan 02, 2016
dhtml18:
That mean say you don fail already be that o. I doubt if there are still great programmers on this board that can assist you with your quest.
I should be able to, but it will take several long posts and i am not a nairaland regular again, i just breeze in and breeze out. . . .
But why not head over to the phpunit website? https://phpunit.de/getting-started.html
i am currently working with an offline edition of phpunit site...
Re: Help Needed With Phpunit For Testing by Squirrel(m): 11:40pm On Jan 02, 2016
Cauhlins:
i kinda noticed alot of threads have been created for development but none for software testing.. I need a little help with testing my php programs. -i'm a newbie at testing though-.. i have been struggling with understanding the concept of writing failing tests...
... Help needed
Hello Cauhlins. Happy 2016.

I can walk you through Unit Testing with PHPUnit. Can you paste the URL to your Github/Bitbucket repo here for the benefit of everyone.

NB: If you don't have the code on a repo yet, please create one.

Thanks
Re: Help Needed With Phpunit For Testing by Cauhlins(op): 11:06am On Jan 03, 2016
Squirrel:
Hello Cauhlins. Happy 2016.

I can walk you through Unit Testing with PHPUnit. Can you paste the URL to your Github/Bitbucket repo here for the benefit of everyone.

NB: If you don't have the code on a repo yet, please create one.

Thanks
Thanks bro. i'd do that right away
Re: Help Needed With Phpunit For Testing by Nobody: 3:00pm On Jan 03, 2016
@op, luckily for you, we have unit testers in the house. I shall try contribute when you create the link. Will troll back later on.
Re: Help Needed With Phpunit For Testing by oliverusselldev: 12:11pm On Apr 20, 2018
With the right tutorial, you can also do [url="https://www.cloudways.com/blog/getting-started-with-unit-testing-php/"]PHP unit testing[/url] for your website easily. However, you must have ssh access on your server to be able to run unit testing.
1 Reply

Built A Smallish Web App For TestingHelp Needed With The Following Questions In C++ Or Any Language Please!!!How To Generate Bulk Fake Names For Testing Apps234

Programming Languages: Worst Is BetterUrgently Needed! A Freelance App DeveloperJava Programming