armstrong.dev 2.0 release

27 views
Skip to first unread message

Jon Cotton

unread,
Apr 7, 2014, 6:54:56 PM4/7/14
to armstr...@googlegroups.com

Announcing the release of a brand new ArmDev!
https://github.com/armstrong/armstrong.dev/releases/tag/v2.0.0

It's a big update so I recommend reading `changes.rst` and then `readme.rst`. `armstrong.dev` is the developer's toolkit/helper for working on all the other Armstrong components. This release in itself isn't useful for production sites. For developers this allows much faster virtualenv creation, a standardized approach to Django with full access to `manage.py` commands, and easy Tox mutli-env testing.

Why even have an ArmDev helper? All Django-related packages have the same needs. Tests require running in a Django environment which requires bootstrapping package-specific settings. Often in development you'll need the `manage.py` commands to generate a database, run the admin, use the interactive shell, etc. Armstrong components need all this stuff too. Rather than duplicate the config bootstrapping for every component, it's DRY'd into ArmDev.

ArmDev also provides DRY code for running coverage tests. It provides a common TestCase subclass of DjangoTestCase which allows us to backport handy new features for older Djangos. ArmDev provides the Django 1.6 test runner for all components so we can run unified tests without worrying about Django version. It also provides a few common testing utilities for the various Armstrong components that share them.

Hurray for DRY, faster, standardized dev. Go read about the updates and run `invoke --list` to get started.

-Jon Cotton

Reply all
Reply to author
Forward
0 new messages