Right now there are two basic constructs: step and test. While step is reusable, IMO a collection of steps should also be easily reusable.
To illustrate what I'm saying, one concrete example: I'm using greenlight to write end to end tests and I have a sequence of steps to create an user, validate its email and save its data in greenlight context. While I'm able to use (concat user-creation-steps [...]) to test most flows, there are places where I can't, like when I want to create two different users and have them saved in different keys in the context.
Having an easy way of composing steps would be really helpful.
Right now there are two basic constructs:
stepandtest. Whilestepis reusable, IMO a collection of steps should also be easily reusable.To illustrate what I'm saying, one concrete example: I'm using
greenlightto write end to end tests and I have a sequence of steps to create an user, validate its email and save its data in greenlight context. While I'm able to use(concat user-creation-steps [...])to test most flows, there are places where I can't, like when I want to create two different users and have them saved in different keys in the context.Having an easy way of composing steps would be really helpful.