SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: Unit Testing

  1. #1
    SitePoint Enthusiast Belsnickle's Avatar
    Join Date
    Feb 2012
    Location
    Chico, CA
    Posts
    68
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unit Testing

    Hi,

    I'm trying to figure out how to do unit testing and am having difficulty finding any good tutorials on the subject that seem to cover much beyond the PHPUnit github guide. I use netbeans personally, which I have been trying to work with getting it hooked into in addition to attempting to expand my knowledge on the topic, and just really need help getting pointed in the right direction. That and any helpful pointers people might have on the subject would be simply amazing.

    I just seem to be spinning my wheels at that extremely frustrating uphill portion of relearning methodology and thought; Hey, maybe someone can help get me out of this rut.

  2. #2
    Community Advisor bronze trophy
    fretburner's Avatar
    Join Date
    Apr 2013
    Location
    Brazil
    Posts
    1,389
    Mentioned
    45 Post(s)
    Tagged
    12 Thread(s)
    Hi mate,

    Have you come across this tutorial before? It seems to be pretty good and it's quite recent.

    Do you have PHPUnit installed OK (you can run it from the command line)? And are you able to run it from Netbeans?

  3. #3
    Patience... bronze trophy solidcodes's Avatar
    Join Date
    Jul 2006
    Location
    Philippines
    Posts
    933
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Isn't it, it has a manual?
    http://phpunit.de/manual/current/en/index.html

    I don't use unit test personally, unless the client is willing to pay me extra hours to Test Driven his website/Apps.
    Quality codes are optimized and tested...
    Click here for inspiration..

  4. #4
    Patience... bronze trophy solidcodes's Avatar
    Join Date
    Jul 2006
    Location
    Philippines
    Posts
    933
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quality codes are optimized and tested...
    Click here for inspiration..


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •