Monthly Archives: August 2013

Run tests using layers with py.test

TL;DR Use gocept.pytestlayer. Long Story We have many test suites which use test layers (e. g. the ones from plone.testing). We want to use py.test and all its fancy features to have a modern test runner. There was no way to … Continue reading

Posted in en | Tagged , , , , , , , | Leave a comment

Viewing scales metrics from Pyramid

We’ve recently started experimenting with the excellent scales library to collect in-process metrics (see Coda Hale’s CodeConf talk “Metrics everywhere” among many others for reasons why one definitely wants to do that). Scales comes with a flask-based HTTP server that … Continue reading

Posted in en | Tagged , , , | 2 Comments