» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with qa + python

sys.setdefaultencoding is evil

I have recently found some UnicodeDecodeError bugs on some products, that some people couldn’t reproduced. The bug was due to a call to a CMF API that was doing a str() over the object, right before using it. This is perfectly fine in that case, because the object is supposed to be a ZODB id, so [...]

Zope: Planet Zope

Windmill 0.2 Released

Tuesday, ( October 16th ) we pushed out the 0.2 release of Windmill to the eagerly awaiting world of QA.

For those of you who aren’t familiar with Windmill, it is a framework we have built at OSAF for automating tests against our Web Calendar User Interface. In other words, it’s a slick way to save yourself some time by creating tests that will insure the quality of your web page as you are developing them. We at OSAF have some very advanced needs for the project, so the more you use it, the more you will discover all of the other features that make it as impressive as it is.

A few months ago Windmill became an official OSAF project and has been gaining steam every since. After a long period of working out glaring adoption blockers we came out of stealth mode to present at OSCON in Portland and are now actively building our community.

We have made the setup process as easy and well documented as we possibly can, and encourage anyone interested to install Windmill and give it a try. We do our very best to respond to all outside feedback, and make ourselves available in the IRC channel (#windmill on Freenode) to solve all your Windmill issues. OSAF takes transparency in it’s projects very seriously and we are committed to making the project easy for you to get involved, and encourage outside contributors and feedback.

This release includes many new features and bug fixes:

  • Windmill Unit Tests, for all your future contributors out there to make sure you didn’t break anything!
  • Browser launcher support for Safari and Firefox Linux, no more manual proxy configuration.
  • Lots of performance and stability improvement, say goodbye to those t-box hangs.
  • The assertion explorer tool, now point and click to create your assertions.
  • Javascript tests, write tests in Javascript to test deep down in that app’s source.
  • Commenting in all of the test files, including JSON.
  • Windmill support for testing against localhost
  • Fully functional WIndmill Integrated Development Environment in all the browsers.
  • Controller additions of many wait and assert functions, get better control of your tests.
  • Convenience features including automatically giving you the correct focus when working in the IDE, smarter logic in the DOM Explorer.
  • DOM serialization, you can now pause your tests and get the state of your page on command.
  • Cross domain, frame and window recording and testing
  • And much more…

Any documentation you may need is available at our website, windmill.osafoundation.org and if you find any areas that could use improvement we encourage you to signup and add to the WIKI.

Other documents you may want to jump straight to:

Recently we spent an evening presenting at the Bay Piggies User Group at Google in Mountain view, you can read a recap here.

Chandler: OSAF group blog

Unobtrusive benchmark and debug of Python applications

There are many tools available for Python to perform benchmarks and debugging. For example:

Hotshot is bundled in the standard library and provide useful data. Maybe you have to install an extra package on some linux distribution if I recall it correctly, because it’s not GPL; iPython provides a nice interface to perform live debugging, like [...]

Zope: Planet Zope

Make your code base healthier: the anti-cheater pattern

I gave a few years ago some courses to college students. They had to write some small C++ programs and send them to me before the end of the course, so I could correct them and give some grades. They were massively cheating I created a anti-cheat tool to try to find the cheaters, mainly [...]

Zope: Planet Zope