Ir al contenido principal

unit testing

  1. Forgetting Red to Green
  2. Poor Naming Conventions
  3. Unclear purpose
  4. Code Organization
  5. Unit vs Integration Test Confusion [24:06]
  6. No Code Coverage on Exceptions
  7. Giving Up On The User Interface [50:04]
  8. Fixing Bugs Without Unit Tests
  9. Useless Code Coverage
  10. Stop Mocking Me!
Bonus:
  • Giving Up On Legacy Apps
  • Un-testable Architectures
  • Not Doing Interface-Driven Programming
  • Not Doing Dependency Injection

Phrases...

  • QA's Are People Too... you'll really should treat them ... they are human beens [53:00]
  • Just because you have 100% code coverage, doesn't mean that your code works. It only means that you've executed every line. (Scot Hanselman).









Get Microsoft Silverlight



http://www.msteched.com/2010/NorthAmerica/DPR204


Comentarios

Entradas populares de este blog

GNUstep ProjectCenter/Gorm/AClock running Ubuntu 10.04

Download sources GNUstep (stable or unstable) to compile; Dependencies First you need to check dependencies in ubuntu and install with sudo apt-get or search before with apt-cache command; almost every package ends with *-dev in ubuntu repositories this command will install all dependencies for compile: ~$ sudo apt-get install libffi-dev libssl-dev libxml2-dev libxslt1-dev libcairo2-dev libxt-dev GNUstep Make compiling GNUstep make is our first target; it's the primary package to compile GNUstep applications. get the package, untar and change into the folder and compile: ~$wget ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-make-2.4.0.tar.gz ~$tar xzvf gnustep-make-2.4.0.tar.gz ~$cd gnustep-make-2.4.0/ ~$./configure --prefix=/usr/local/GNUstep/ --enable-native-objc-exceptions ~$make ~$sudo make -E install *NOTE: the options /usr/local/GNUstep/ is the folder where all the GNUstep is going to install. the second option --enable-native-objc-exceptions enable th...

Changing Background GWorkspace

GWorkspace application in GNUstep, is like the equivalent to Nautilus under GNOME. It has interesting features that I'm beginning to love, right now I believe GNUstep is for UNIX-geek-old-fashioned. Here is the screenshot for changing the background image, you need to go to Info->Preferences->Desktop (drop down) then click Choose button for search the image. I'm running GNUstep compiled in Ubuntu 10.04 and the image comes from the folder / usr/share/backgrounds/ Another really cute functionality of GWorkspace is start applications from their installation folder, you need to open the viewer from menu View->Viewer and go to the installation application folder (in my case compiled from sources: /usr/local/lib/GNUstep/Applications ) then a double-click starts the application (*.app)

meta:progid

The meta:progid attribute on the Page directive is necessary if the page will ever be opened in SharePoint Designer. You should include this as site pages are supposed to support customization and thus, be opened in SharePoint Designer. If you don't want to allow pages to be opened and customized in SharePoint Designer, then you should do that through permissions, not at the page level. Using ASP.NET 2.0 Code Behind Files in SharePoint v3 Sites SPFile.ProgID gets a string that identifies the application in which the file was created. That's all the meta:progid is about. It's a identifier for SharePoint and you probably should not use other attributes, they might cause run-time error. Ref: msdn forum thread explanation