Programming... Do you speak it?
VirtualTam's bookmarks
-
2015-02-13 -
2015-02-13 Python's built-in unittest module is quite cool, but a bit limited and way too verbose (read: it's quite not easy to incite developers to write unit tests)
I'm currently looking for more dev-friendly solutions, the key points being:
- writing test code should be easy and straight-forward -keep the focus on "what to test" instead of "how to transcribe a process to a test"
- parallelization! -we, spoiled developers, should make good use of our way-too-many-cores build machines...
- complete feature set!
- we don't want to just run tests...
- coverage reports (find dead/weak/untested code sections)
- output formatting (JUnit-XML seems to be quite a common format out there)
There seem to be 3 solutions in Python:
- stock unittest + project-dependent customizations / test helpers
- nosetests
- py.test
And 2 ways of gettings things done:
- keeping things stock: no external dependency, project-specific implementation...
- using a test framework: one more module in your (test) virtualenv, more concise tests, more features (// run, code coverage, etc.)
Some links:
-
2015-02-08 -
2015-02-07 Very cool & detailed tutorial on how to setup Emacs for Python editing, completion & execution.
-
2015-01-16 -
2015-01-08 This little gem made my day ;-)
-
2014-12-17 "Every piece of knowledge must have a single, unambiguous, authoritative representation within a system."
The opposite is WET:
We Edit Terribly, Tumultuously, Tempestuously, Tenaciously, Too much, Timidly, Tortuously, Terrifiedly...
> I think WET also stands for "We Enjoy Typing" // DuncanBayne
-
How to solve Git issues...
from https://presentate.com/bobthecow/talks/changing-history
-
2014-12-16 -
code @ https://github.com/scanlime/arduino-lelo-remote
via OWNI, News, Augmented : Hacke ton vagin - Revue du web
-
2014-12-11 -
2014-12-10 -
2014-12-04 -
2014-12-02 -
2014-12-02 Discussion de fond sur l'auto-hébergement de code source via Git :
- mise en place d'une interface d'administration web,
- fonctionnalités couvertes : granularité des droits, CI, wiki,
- simplicité d'utilisation,
- réactivité,
- interactivité avec la communauté / cadre d'utilisation.