Ben Ramsey on Nostr: In #Behat, is there a way to specify reusable variables across features? Can I set ...
In #Behat, is there a way to specify reusable variables across features? Can I set something in my FeatureContext class, and then use it as a variable in all my features that use that context? #PHP
Published at
2024-11-06 00:11:52Event JSON
{
"id": "093c336dd5ba8d34e5163de313111214f09e06c7bd8e11331093c60e7017474e",
"pubkey": "e653eb60b2db5edf906d354c2825bf00a80dfab1b1766cd97805155e8fcc0db3",
"created_at": 1730851912,
"kind": 1,
"tags": [
[
"t",
"behat"
],
[
"t",
"php"
],
[
"proxy",
"https://phpc.social/users/ramsey/statuses/113433110914525102",
"activitypub"
]
],
"content": "In #Behat, is there a way to specify reusable variables across features? Can I set something in my FeatureContext class, and then use it as a variable in all my features that use that context? #PHP",
"sig": "0469d4a1813ab55310d959b30c88c872125bb63d59a8af208f4f8840279a0103b7f5ec69f4aa65d9b2a401a6d3ea4d469c39e134e3a6fd45288cdc0295310d94"
}