Skip to main content

Home/ Tools for web developers/ Group items tagged FAQ

Rss Feed Group items tagged

Sarah HL

JUnit FAQ - 0 views

  • They effectively communicate in an executable format how to use the software. They also prevent tendencies to over-build the system based on speculation. When all the tests pass, you know you're done!
  • Test-driven development is a lot more fun than writing tests after the code seems to be working
  • Do I have to write a test for everything? No, just test everything that could reasonably break.
  • ...6 more annotations...
  • If something is difficult to test, it's usually an opportunity for a design improvement.
  • Frequent testing gives you confidence that your changes didn't break anything and generally lowers the stress of programming in the dark.
  • Run all your unit tests as often as possible, ideally every time the code is changed
  • For larger systems, you may just run specific test suites that are relevant to the code you're working on.
  • write a failing test that exposes the defect. When the test passes, you know the defect is fixed!
  • Don't forget to use this as a learning opportunity. Perhaps the defect could have been prevented by being more aggressive about testing everything that could reasonably break.
Vernon Fowler

WordPress › WordPress Plugins - 0 views

  • Start by creating an "assets" directory in the root of your SVN checkout. This will be on the same level as /tags and /trunk, for example. Inside that assets directory, you can make a file named "banner-772x250.png" or "banner-772x250.jpg". The image must be exactly 772 pixels wide and 250 pixels tall.
Vernon Fowler

RGB-to-Hex Color Converter - 0 views

  •  
    "0769AD"
1 - 5 of 5
Showing 20 items per page