Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Paracosm Immersion (christine.website)
2 points by andsoitis on July 16, 2023 | hide | past | favorite | 1 comment


Neat. The plaintext looking stuff is Gherkin language, used with Cucumber to create "nearly English" automated tests.

Since it runs as code, it necessarily must be kept updated (or tests fail). It's living documentation, but enforced through computation.

The step definitions behind the Gherkin statements don't have to be defined. But it may not be run like that anyway.

Very cool way to express self-reflection.

https://cucumber.io/docs/gherkin/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: