Skip to main content

Questions tagged [reusability]

2 votes
4 answers
484 views

How to combine multiple functions into a single template based function

Threre are two functions FindMaxDistanceVector and FindMaxDistanceList whose implementation is almost same except some debug information added in FindMaxDistanceList. Note that these two functions are ...
user146290's user avatar
-1 votes
1 answer
278 views

Reusing simple BDD testing for more complex test scenarios

I am currently learning about BDD (Cucumber/Gherkin) in test automation. I am wondering about reusing simpler test scenarios or step definitions for more complex scenarios. Specifically, I am working ...
uhohitsjennaaa's user avatar
2 votes
2 answers
372 views

Handling parents events from child component, in a props down events up approach

This question is language/framework agnostic. EDIT: The comments and answers have highlighted how different languages approach events differently, which made me realize this question isn't really ...
Michael Haddad's user avatar