These are chat archives for Behat/Behat

9th
Feb 2017
Ciaran McNulty
@ciaranmcnulty
Feb 09 2017 15:41 UTC
what does the customer use to describe them?
Do they use the names?
Or do they use some natural identifier like SKU?
Roel Monnens
@roelmonnens_twitter
Feb 09 2017 15:43 UTC
The customer would use names. But the customer also said that you can have two folders with the same name. So he/she doesn’t care about a uniqueIdentifier
Ciaran McNulty
@ciaranmcnulty
Feb 09 2017 15:43 UTC
So I'd use names
Seems a natural way to think about folders
Roel Monnens
@roelmonnens_twitter
Feb 09 2017 15:46 UTC
I still think to much about the persistence layer I guess. Because I think the customer doesn’t know he/she will try to get the folder with an unique Identifier.
Ciaran McNulty
@ciaranmcnulty
Feb 09 2017 16:56 UTC
Exactly write the scenario without worrying about implementation; try and match the language someone who understands the business case would use
The fact you'll give the folders numeric IDs isn't something the customer cares about, and if it changes you probably shouldn't have to rewrite the scenario