Tag Archives: testing

"Gray box" analysis example – FogBugz case

Recently I've hit the following exception at FogBugz site (hosted commercial bug tracker which one I'm a happy user): System.ArgumentException: Invalid syntax: expected identifier, found ')' Server stack trace: at FogCreek.FogBugz.Database.CSqlParser.ParseIdentifier(CSqlTokenList tokens) at FogCreek.FogBugz.Database.CSqlParser.ParseColumn(CSqlTokenList tokens, Nullable`1 fTableNameRequired) at FogCreek.FogBugz.Database.CSqlParser.ParseTerm(CSqlTokenList tokens, … Continue reading

Posted in en | Tagged , | Comments Off on "Gray box" analysis example – FogBugz case

What's Wrong With Automated Integration Tests?

A quite typical picture: software development company X, first delivery of project Y to testing team after few months of coding just failed because software is so buggy and crashes so often. Project Manager decides to invest some money in … Continue reading

Posted in en | Tagged , , | 5 Comments

Static verificaiton tool for web2py templates

Web2Py is a full-stack Python web framework that can be compared to Django, but is easier to learn due to convention-over-explicit-statement preference. In this article I'll check how static verification techniques developed by me for many different environments (JSP, Django … Continue reading

Posted in en | Tagged , , , , | Comments Off on Static verificaiton tool for web2py templates

The Software Project Enemy: Regression

I'm tracking current project state using automated test suite that is executed 24/7. It gives information about stability by randomly exploring project state space. Test launches are based on fresh builds from auto-build system connected to master branch for this … Continue reading

Posted in en | Tagged , | Comments Off on The Software Project Enemy: Regression

Assert: To Abort Or Not To Abort, That's The Question

Everyone agrees that internal state checking using assert(), Q_ASSERT(), assert are good. Programmer can declare expected input (asserting parameters), internal state (invariants) and verify return values (postconditions) and runtime will verify such expectations. There are languages with direct support for … Continue reading

Posted in en | Tagged , , | Comments Off on Assert: To Abort Or Not To Abort, That's The Question