9
Comments
  • 2
    Whahaha behave! What a hell! Muahahahaa :P You have to do that? :P
  • 4
    Cucumber?

    DSLs were a mistake.
  • 2
    And then you don't even get to reuse your bindings because "it doesn't sound correct"
  • 3
    Looks like a cuke to me
  • 1
    We should be writing tests for command dispatch mechanisms. Now I wonder, what would a callback look like in Cucumber?
  • 2
    Is this called Cucumber? I know it as behave.

    @chatgpt what is difference between cucumber and behave?
  • 2
    @retoor
    Yes, Cucumber is a popular tool for behavior-driven development, where tests are written in a human-readable format using the Gherkin syntax. Behave is another tool that also uses the Gherkin syntax for behavior-driven development in Python.

    The main difference between Cucumber and Behave is the language they are based on. Cucumber is primarily used with Ruby, while Behave is used with Python. Both tools allow for writing tests in a natural language format that non-technical stakeholders can easily understand. The choice between Cucumber and Behave would depend on the programming language and framework preferred by the development team.
  • 2
    Behave was cancelled in our company because of total decline by every developer. You would only request a behave test for a pull request if you wanted to bash someone. That profii.
  • 2
    @retoor It was a senior engineer who wanted cucumber actually, otherwise a very reasonable guy. I don't know why, I really don't. We're writing C# for god's sake, it's probably the easiest language to read as it is especially in something as concrete as a test.
  • 2
    @lorentz we had much msintance. The idea that a non dev could write use cases and stuff was absent. Did that engineer has shiny black sunglasses?
  • 2
    @retoor I frankly don''t even think that was his intent here, we all write SQL on a daily basis and we discuss daily what a terrible design goal it was for non-programmers to be able to write it. I think he just liked the syntax for its own sake? Or maybe he's secretly planning to move away from C# in the distant future? It's weird.
  • 1
    @retoor The syntax/language is called "gherkin"
  • 1
    Meh I can read it fine
  • 2
    @MammaNeedHummus Of course you can read it, it's a trivial program. You could read this in any language that isn't deliberately unreadable, even if you have never used the language before.
  • 1
    @lorentz so your point is...?
  • 1
    @MammaNeedHummus the fact that it's readable is not an argument in favour of an abstraction layer with the worst grammar since SQL.
Add Comment