Motivation

If your software project doesn't "get users" it will die, bottom line. Launching a software project into production sooner rather than later greatly increases the odds the project will "get users" and ultimately succeed.

Situation

You've seen it time and again in recent years. You start a new project. You have project specs and a strong desire to include a test suite with your project to prove correctness and efficiency. But along the way your project specs change, you don't launch on time, and you have a gazillion tests to update. Your hopes of actually "getting users" dwiddles daily as you cope with all the code and test code changes. What do you do?

Solution

Throw out your test suite and launch the project into production.

Having users actually use your software provides near 100% code coverage. Having your "test suite" run in production on real data means you do not waste time creating fake data in the form of fixtures or factories. Continuous integration is provided as a side effect of server uptime. You can confirm your test suite is being executed by examining server load.

Implementation

STDD is super easy to setup. On Android there is ACRA.. force closes stop, stack trace emails start, simply beautiful. In Django it's DEBUG=True in settings.py.. user gets an oops sorry page, you get a stack trace email.

Origin

I got the idea for STDD from staring at an unread copy of "Ship It" I had purchased some time ago. I don't know what's in the book because like I mentioned, I've never bothered to read it. I'm much too busy rolling out new versions of my software projects to read a book! But the title made me think, what IS the fastest way to deliver software while still maintaining some sanity with managing coding errors? I realized the actual code could easily be considered a test suite, and since I have the test results: either it crashed or it didn't, I followed through with stack trace email implementation to close the loop.

Probability Of Success

I created these probabilities based on my experience. I've never worked on a large software project with a hand-coded test suite that actually launched into production. Meanwhile most every other project I've worked on, without a test suite, has launched.

P(L|T) = 0.01
P(L|¬T) = 0.99

The "probability" of an actual project "launch" seems greatly dependent on the amount of academic masturbation contributed to the project in the form of a "test suite".

If you have a project where specs change constantly, you should try STDD. It will greatly increase the probability your project will launch, "get users", and succeed.

(This is satire.)

   Recent articles
Console Blackjack written in Perl 6
How-to build latest Linux kernel from Linus' git repo on Debian/Ubuntu
Console Blackjack in C++
.rubyocop.yml
Visual Studio Code Configuration
   Tags
airplane (1) apache (1) apple (1) bash (2) bashrc (1) blackjack (3) callproof (1) college (1) config (1) console (3) cpp (1) data (1) debian (4) diff (1) django (2) electoral (1) enterprise (1) flying (1) freebsd (1) games (1) git (3) github (4) gmail (1) go-lang (3) google (1) gourse (1) kernel (3) latin1 (1) linux (4) lottery (1) microsoft (1) module (1) mongodb (1) mp3s (1) mutt (1) patch (1) perl6 (1) photos (1) postgresql (2) powerball (1) psql (1) python (2) raspberrypi (1) rc (1) rubocopyml (1) sed (1) stack (1) sublime (1) testing (2) trace (1) ubuntu (2) utf8 (1) virus (1) visualstudiocode (1) vote (1) waylon (1)
   Twitter

Copyright © 2017 · GregDonald.io · All Rights Reserved