Behave Tests and Fixtures

BLUF

Behave fixtures totally rock for testing complex applications.

I had been doing them wrong. Doing them right is simpler.

History

I'm a fan of the Gherkin language for specifying the behavior of software.

Scenario: Works for Me

Given a configuration
When a request is made
Then the response can …
more ...

Link Rot and Editing

As noted in Finished Moving: Lessons Learned link rot is real.

Links vanish.

I've got 23 ancient (2004 to 2006, ancient) posts with clearly broken links. These are easy to identify because the service vanished years ago.

The tricky part is figuring out of there's any content worth preserving. In …

more ...


DZone's lack of a Python Zone

Check out DZone's Coding zone: https://dzone.com/coding. Hover over the "Coding" drop-down menu.

Notice anything lacking?

I'll give you a hint: Python.

They have "Frameworks", "Java", "Javascript", "Languages" and "Tools".

The "Languages" seems to be general programming, and the posts include Java, JavaScript and numerous other languages.

Let's …

more ...





Permutations, Combinations and Frustrations

The issue of permutations and combinations is sometimes funny.

Not funny weird. But, funny "haha."

I received an email with 100's of words and 10 attachments. (10. Really.) The subject was how best to enumerate 6! permutations of something or other. With a goal of comparing some optimization algorithm with …

more ...