Jacob Kaplan-Moss

23 items tagged “testing”

📌 Function-Fiasco #
📌 mozilla/minion: Minion #
📌 Automating XSS detection in the CI/CD pipeline with XSS-Checkmate - O'Reilly Media https://www.oreilly.com/learning/automating-xss-detection-in-the-ci-cd-pipeline-with-xss-checkmate #
📌 Ned Batchelder: Mocking datetime.today

I always forget how to successfully mock datetime. Ned’s technique is good, and he’s got pointers to a couple other options too. Hopefully now I won’t forget! #

📌 exogen/nose-achievements - GitHub #
📌 kmmbvnr/django-jenkins - GitHub

“Plug and play continuous integration with django and jenkins”—gives you a “manage.py jenkins” that outputs all the coverage and test data in a format that Jenkins understands. Looks nifty. #

📌 Empirical Software Engineering Group (ESE) - Microsoft Research

Lots of really great research papers on software development. This group does a good job looking at empirical data surrounding engineering best practices, especially testing. #

📌 Unit Testing Guidelines — pylonshq v0.0 documentation

Pylons’/Pyramid’s new unit testing guidelines. *Very* good stuff here. #

📌 Rhonabwy » Setting up a python CI server with Hudson #
📌 Pyntch - Static Code Analysis for Python

Typeflow analysis for Python. Looks pretty cool; don’t know how well it’ll work on larger projects. #

📌 shunit2 - Project Hosting on Google Code

xUnit test framework for Base scripts. Wish I’d never found this -- now I no longer have an excuse for not testing shell scripts. #

📌 Enable setup.py test in your Django apps | Surfing in Kansas

Everyone: do this. Now. #

📌 Testing Django Views for Concurrency Issues

Django, testing, and concurrency. These are a few of my favorite things. #

📌 How SQLite Is Tested

SQLite’s testing infrastructure is nothing short of inspired: “SQLite [...] consists of approximately 62.2 KSLOC of C code. [...] By comparison, the project has 716 times as much test code and test scripts—44568.6 KSLOC. [...] The TCL test suite obtains 99.37% statement coverage [... and] 95.16% branch coverage.” #

📌 Interlude - Write Python Doctests interactive — BlueDynamics Alliance

Drop into an interpreter in the middle of your doctest. Brilliant! #

📌 stevenf.com: How to report a bug in a Mac OS X application

Steven’s specifically talking about reporting bugs in a OS X application, but there’s really very little here that’s OS X specific. Reporting bugs well is an art; those who practice it well see their itches scratched sooner. #

📌 Fusil - Trac

A library for writing fuzz testing programs. #

📌 A Faster Django Test Suite | oebfare

Run Django’s tests on multiple cores for better performance. I suspect much of testing is io-bound, but this is still a nifty trick. #

📌 teenage mutant ninja hero coders: Integrating coverage reports with Django

Integrating coverage.py with Django. Cool trick. #

📌 Welcome to the Conference on Test Automation

Slides from Google’s 2006 conference on test automation. #

📌 PythonTestingToolsTaxonomy - Cheesecake - Trac

An amazing breakdown of the various Python testing tools -- there are even more of them then web frameworks! #

📌 Basic twill intercept testing of django

Inspired by the twill lightning talk I’ve hooked up the twill wsgi intercept with django, pretty easy really. #

📌 Fixing an overloaded web server #