As far as I can tell, the way they taught me to program in college was all wrong. You should figure out programs as you're writing them, just as writers and painters and architects do. Realizing this has real implications for software design. It means that a programming language should, above all, be malleable. A programming language is for thinking of programs, not for expressing programs you've already thought of. It should be a pencil, not a pen. Static typing would be a fine idea if people actually did write programs the way they taught me to in college. But that's not how any of the hackers I know write programs. We need a language that lets us scribble and smudge and smear, not a language where you have to sit with a teacup of types balanced on your knee and make polite conversation with a strict old aunt of a compiler
Hackers and Painters
Stuff about software development, agile and testing
Saturday, January 31, 2009
Tuesday, January 13, 2009
Quality Assurance versus Quality Control
From Jason Yip blog
Quality Assurance (QA): The design and implementation of processes (roles + activities) to ensure quality in a system/product/service.
Quality Control (QC): The design and implementation of processes (roles + activities) to verify the quality of a system/product/service.
QA = prevent defects; QC = detect defects
Quality Assurance (QA): The design and implementation of processes (roles + activities) to ensure quality in a system/product/service.
Quality Control (QC): The design and implementation of processes (roles + activities) to verify the quality of a system/product/service.
QA = prevent defects; QC = detect defects
Monday, January 12, 2009
Testing File upload with Watir
For uploading file from watir test we have to do something like following
@browser.file_field(:name, "fileUploadFieldName").set "path.to.file"
But when I was running my test(on windows) I was getting the following error
Watir::Exception::WatirException, "The AutoIt dll must be correctly registered for this feature to work properly"
Apparently what this means is you have to install AutoIt and once you do that everything works as you expected. I kind of discovered it in a hard way but maybe some else will find this little information useful.
@browser.file_field(:name, "fileUploadFieldName").set "path.to.file"
But when I was running my test(on windows) I was getting the following error
Watir::Exception::WatirException, "The AutoIt dll must be correctly registered for this feature to work properly"
Apparently what this means is you have to install AutoIt and once you do that everything works as you expected. I kind of discovered it in a hard way but maybe some else will find this little information useful.
Subscribe to:
Posts (Atom)
Labels
- agile (4)
- agile testing (1)
- build tool (1)
- design (1)
- DSL (1)
- duck typing (1)
- eclipse (1)
- ejb3 (1)
- Fluent Interface (1)
- grails groovy (1)
- groovy (1)
- gwt (1)
- hacking (1)
- haskell (1)
- java (1)
- javascript (1)
- jvm (1)
- languages (1)
- mac (1)
- pipes (1)
- programming (1)
- qa (1)
- rant (2)
- ruby (6)
- sas (1)
- scala (3)
- scripting (2)
- software rewrite (1)
- statically typed (1)
- testing (4)
- two phase commit (1)