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

Assertion 'created_directory' eagerly removes directory before other assertions are checked #33

Open
andreasabel opened this issue Mar 25, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@andreasabel
Copy link
Collaborator

andreasabel commented Mar 25, 2023

Assertion 'created_directory' eagerly removes directory before other assertions are checked.
E.g. you cannot place the created_directory assertion before the created_file assertion here:
https://github.com/fugue/goldplate/blob/a2c20310149a69522d0efc2cdcd8e1081f5f93b4/tests/create.goldplate#L9-L13

A bit too imperative for my taste. I would have expected a declarative approach to these assertions, so that the order in which I write these do not matter.

@andreasabel andreasabel changed the title Assertion 'created_directory' eagerly removes directory before other assertions are check Assertion 'created_directory' eagerly removes directory before other assertions are checked Mar 25, 2023
@jaspervdj jaspervdj added the enhancement New feature or request label Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants