4 ms·
In Python, I use doctests for things like this. Just write the features in plain understandable language, with clear code that serves both as integration/behavi
by ctolsen 13y ago
In Python, I use doctests for things like this. Just write the features in plain understandable language, with clear code that serves both as integration/behaviour test and example in between.
Cucumber etc. is usually about coaxing natural language into code, which makes no sense to me. Better to use natural language with useful code examples, which are readable to client, developer, and test software.