Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"[do not] contain" steps should be replaced by "equals" #218

Open
dmitrii-ubskii opened this issue May 24, 2022 · 0 comments
Open

"[do not] contain" steps should be replaced by "equals" #218

dmitrii-ubskii opened this issue May 24, 2022 · 0 comments

Comments

@dmitrii-ubskii
Copy link
Member

dmitrii-ubskii commented May 24, 2022

Please replace every line in curly brackets { like this } with appropriate answers, and remove this line.

Problem to Solve

All steps that reference "[do not] contain" are just a wordier way to check for exact set equality.

Then entity(customer) get owns key types contain:
  | username   |
  | reference  |
  | work-email |
Then entity(customer) get owns key types do not contain:
  | email |
Then entity(customer) get owns explicit key types contain:
  | reference  |
  | work-email |
Then entity(customer) get owns explicit key types do not contain:
  | username   |
  | email      |

Proposed Solution

The tests could be made terser and more explicit by the introduction of an "equals" or "is exactly" step instead.

Then entity(customer) get owns key types equals:
  | username   |
  | reference  |
  | work-email |
Then entity(customer) get owns explicit key types equals:
  | reference  |
  | work-email |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants