Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 30 2022 11:55

    ehuelsmann on 0.83

    (compare)

  • Oct 30 2022 11:54

    ehuelsmann on master

    Prepare 0.83 release (compare)

  • Oct 30 2022 11:43

    ehuelsmann on master

    Update i18n data (compare)

  • Jul 01 2022 14:20

    ehuelsmann on master

    pass attributes to harness with… fix regex bug clean code and 3 more (compare)

  • Jul 01 2022 14:20
    ehuelsmann closed #195
  • Jul 01 2022 11:44
    DragosTrif synchronize #195
  • Jul 01 2022 11:41
    DragosTrif synchronize #195
  • Jul 01 2022 10:01
    DragosTrif synchronize #195
  • Jul 01 2022 09:58
    DragosTrif synchronize #195
  • Jul 01 2022 09:01
    DragosTrif opened #195
  • Aug 23 2021 20:34

    ehuelsmann on master

    Add environment variable subsit… Merge pull request #194 from ph… Release 0.82 (compare)

  • Aug 23 2021 20:33

    ehuelsmann on 0.82

    Release 0.82 (compare)

  • Aug 23 2021 20:31

    ehuelsmann on master

    (compare)

  • Aug 23 2021 20:30

    ehuelsmann on master

    Release 0.82 (compare)

  • Aug 23 2021 20:30

    ehuelsmann on 0.82

    Release 0.82 (compare)

  • Aug 11 2021 14:59
    ehuelsmann edited #130
  • Aug 11 2021 11:47

    ehuelsmann on environment-variable-replacement

    (compare)

  • Aug 11 2021 11:47

    ehuelsmann on master

    Add environment variable subsit… Merge pull request #194 from ph… (compare)

  • Aug 11 2021 11:47
    ehuelsmann closed #194
  • Aug 11 2021 11:47
    ehuelsmann opened #194
DragosTrif
@DragosTrif
Thanks a lot
ehuelsmann
@ehuelsmann:matrix.org
[m]
yay!
let me know if/when you have further issues.
DragosTrif
@DragosTrif
I will. Our team is moving form Postman for a Test::BDD::Cucumber solution so it will play around daily with this.
ehuelsmann
@ehuelsmann:matrix.org
[m]
thanks for the positive feedback on that!
are you also developing extensions/plugins/harnesses?
I'd like you to stick around here, if you don't mind. I'm working with the Cucumber project to get support for e.g. Rule keyword in place as well as better support for the "wire protocol" in Cucumber, so pherkin and Cucumber ecosystem can start working together.
DragosTrif
@DragosTrif
We have plans for extensions. As for harness at this point Harness::Html seems to be ok for us.
I would like that a lot. Thanks for the chance to be a part of this.
1 reply
ehuelsmann
@ehuelsmann:matrix.org
[m]
ok. when I make more progress, I'll ask here for feedback and review, if you don't mind.
DragosTrif
@DragosTrif
sure
ehuelsmann
@ehuelsmann:matrix.org
[m]
@DragosTrif: The main Gherkin language has a Rule keyword (which is mostly a way to group Scenarios which under a Rule are called Examples); are you looking to use those too? pherkin doesn't support them yet, but I want to use "their" parser and gherkin document model, so after that work has been done, it would be trivial (automatic, really) to support Rule. Before I can do that, there are several other things to consider though, like their completely different expectations around the execution model of feature files.
DragosTrif
@DragosTrif
We would need such a behavior a lot. The work around for this was to group scenarios with tags or create steps that under the hood call c->dispatch()
ehuelsmann
@ehuelsmann:matrix.org
[m]
ok. I've updated their parser to run on Perl. It's released as Gherkin on CPAN.
but there are some other components missing to link our implementation to "their" parser.
DragosTrif
@DragosTrif
Hi @ehuelsmann:matrix.org any news about Rule keyword?
ehuelsmann
@ehuelsmann:matrix.org
[m]
@DragosTrif: hi! Yes. I've managed to get the release process for https://metacpan.org/pod/Gherkin and https://metacpan.org/pod/Cucumber::Messages kick-started again. The next hurdle is getting cucumber/common#768 resolved
It's making great progress, only missing thing is comments from the founder of the cucumber community (Aslak Hellesoy)
From there i can pick thing up further and get it implemented in a matter of weeks
ehuelsmann
@ehuelsmann:matrix.org
[m]
Is that what you were looking for?
ehuelsmann
@ehuelsmann:matrix.org
[m]
@DragosTrif: hi. Was in the cucumber community meeting today and a way forward was devised on the issue referenced above
Peter Sergeant
@pjlsergeant
:wave:
ehuelsmann
@ehuelsmann:matrix.org
[m]
Hi!
Peter Sergeant
@pjlsergeant
About to start a new job where I'll be using cucumber a lot, so I'm back to lurking :-)
Albeit with Node.js
ehuelsmann
@ehuelsmann:matrix.org
[m]
Congrats on the job!
Peter Sergeant
@pjlsergeant
thanks :-)
ehuelsmann
@ehuelsmann:matrix.org
[m]
@pjlsergeant: I've actually made quite some progress on the cucumber side to support Perl and drive Perkins from their parser.
See the Gherkin and Cucumber namespaces on CPAN.
Peter Sergeant
@pjlsergeant
nice!
great work
ehuelsmann
@ehuelsmann:matrix.org
[m]
Thank you. There's some more remaining: cucumber/common#768
DragosTrif
@DragosTrif
Hope this will promote a little Test::BDD::Cucumber inside the Perl community: https://dev.to/dragostrif/test-web-apis-with-perl-and-cucumber-5fff
ehuelsmann
@ehuelsmann:matrix.org
[m]
@DragosTrif: hi.
Nice! Thanks!
Mike Whitaker
@fleetfootmike
there an obvious design pattern for specifying a scenario not to be run if a certain key in %ENV is set? not quite getting my head round how to do this
ehuelsmann
@ehuelsmann:matrix.org
[m]
@fleetfootmike: hi. There is a way to specify certain scenarios to be excluded, yes. The functionality is called tags. However, it's not linked to environment variables.
See the examples in the synopsis:https://github.com/pherkin/test-bdd-cucumber-perl
Mike Whitaker
@fleetfootmike
ah, ok.
ehuelsmann
@ehuelsmann:matrix.org
[m]
hi! today one of the necessary prerequisites to move forward with Test::BDD::Cucumber (enhancing the Cucumber project's Perl parser), has been merged to the main branch there!
@pjlsergeant: We're closer than ever to switching to Cucumber's Perl parser: cucumber/common#1741
ehuelsmann
@ehuelsmann:matrix.org
[m]
@pjlsergeant: hi! Finally Cucumber released a useable parser for our purposes, with a Perl implementation!
DragosTrif
@DragosTrif
HI I have made a small improvement to pherkin to allow to pass attributes to a harness here is the pull request:pherkin/test-bdd-cucumber-perl#195
Please let me know if you need more changes for this
ehuelsmann
@ehuelsmann:matrix.org
[m]
hi! thanks for working on pherkin! I'll have a look in a bit.
DragosTrif
@DragosTrif
Fixed the pull request
ehuelsmann
@ehuelsmann:matrix.org
[m]
ok. thanks. there's one thing though: the eval() doesn't have error detection.
so, if the eval() fails, the arguments passed in will contain a single undef.
added a suggestion in the PR.
DragosTrif
@DragosTrif
Accepted your suggestion.