-
-
Notifications
You must be signed in to change notification settings - Fork 211
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
elementsOf(List) for contains.inOrder.only #128
Comments
Hi Robert, |
@mehdikazemi8 as you have not yet forked the repo I was wondering if you need help. Let me know if this is the case and have a look at Your first code contribution |
@mehdikazemi8 do you need any help? (unassigning you in the meantime so that others could pick up with they want) |
Hi new to atrium but would love to give this a shot |
@npswedberg go for it 👍 (and write here or on slack if you need help) |
Hi I think I am a bit confused on the last point "extend IterableContainsInOrderOnlyValuesAssertionsSpec (add another include, similar to BuilderSpec)". I am assuming I am going to make a new spec file called IterableContainsInOrderAtLeast1ElementsOfAssertionSpec. By extend do you mean that my new spec should inherit from the ValuesAssertionSpec? Sorry I am very new to Kotlin and any hints would be greatly appreciated. |
|
Your approach is fine as well and maybe even better thinking in longer terms. A few notes about the code above:
Please name your function just elementsOf (no need for the inOrder suffix). |
Hi Rob, Thank you so much for the help! Here is the PR #247 |
My current build is broken because the pattern I was following expected integration tests. Should I write integration tests for this feature? |
@npswedberg yes tests are required. See review for details why your build fails. |
Thanks for the feedback the PR has been updated |
Implemented by 71f7be4 |
Platform (jvm, jdk8, js, android): all
Code related feature
Following the things you need to do (see also a0b539c for a guideline):
api
elementsOf
in apis/fluent-en_GB/atrium-fluent_en_GB-common/.../iterableContainsInOrderOnlyCreators.kt (see other functions there)values
require
thatList.isNotEmpty
@since 0.9.0
to the KDOCYour first contribution?
I'll work on this
if you would like to take this issue over.This way we get the chance to revise the description in case things have changed in the meantime,
we might give you additional hints and we can assign the task to you, so that others do not start as well.
(Invite yourself in case you do not have an account yet).
The text was updated successfully, but these errors were encountered: