paint-brush
Learning Go by Building a Specification-by-Example Frameworkby@francisn
497 reads
497 reads

Learning Go by Building a Specification-by-Example Framework

by Francis Novilla7mJune 10th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

This is the story of building conthego, an SBE framework written in golang. The framework is based on free-form executable specifications (spec) A spec is a collection of example scenarios (ex. given/when/then structure) written in plain language, usually in Markdown. The spec is backed by fixture code which, when executed, will mark assertions in the spec as either passed or failed (html reporting showing green or red respectively) The first test, running a fixture method that spits out "Hello World!".

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Learning Go by Building a Specification-by-Example Framework
Francis Novilla HackerNoon profile picture
Francis Novilla

Francis Novilla

@francisn

L O A D I N G
. . . comments & more!

About Author

Francis Novilla HackerNoon profile picture
Francis Novilla@francisn

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite