-
Notifications
You must be signed in to change notification settings - Fork 3
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
WIP: add option to use --id in commands instead of --path #46
base: master
Are you sure you want to change the base?
WIP: add option to use --id in commands instead of --path #46
Conversation
@omallassi I think I should add some tests for How do you think this should implemented? What should be cucumber tests, and which should use standard tests? I suppose I am not entirely sure of the testing goals for this project yet. |
I am also preparing another commit, because... I don't know how, but it seems I deleted one of the tests completely.... |
@rustysys-dev regarding "How do you think this should implemented? What should be cucumber tests, and which should use standard tests? I suppose I am not entirely sure of the testing goals for this project yet." Honestly, we are not at this level yet so we can clarify this w/ pleasure :) In my mind :
so in your case, maybe this is a mix of the two types of tests:
what are your thoughts on this? |
@omallassi Regarding the tests I agree, I think both will be necessary, and I can see a lot of new cucumber scenarios where the user creates/modifies ADRs using ID numbers. I have never really used a framework like cucumber, so it will be an interesting learning experiance!! I don't have much time right now during the weekdays due to needing to build a couple of new microservices at work, but I plan to get to this on the weekend. I will let you know if I run into anything that might be tricky. 😆 |
@rustysys-dev - let me know if I can be of any help : writing some cucumber scenario etc... |
@rustysys-dev - hope you are doing well. cheers. |
Changes:
AdrMeta
to store path and id optionsAdrMeta::build_from_meta
for building ADRsget_path_by_id
to get the path of an existing ADRis_id
to check if aDirEntry
is specified ADR id--id
parameter toadr lf new
to specifiy a specificid
oncreate_adr
AdrMeta::build_from_meta
AdrMeta
struct