You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
expect(path).notToBeWritable()
//instead of
expect(path).feature { f(it::isWriteable) }.toEqual(false)
Following the things you need to do:
logic
extend PathAssertions with a function isNotWritable (see PathAssertions as a guideline)
implement isNotWritable in DefaultPathAssertions.kt by using the ExpectImpl.feature.extractor...
run ./gradlew generateLogic which will update path.kt in logic
api-fluent
provide a function notToBeWritable which returns Expect<T> in pathExpectations.kt (see pathExpectations.kt toBeWritable as a guideline)
add a sample to PathExpectationSamples and link from the api function with @sample
add @since 0.17.0 (adapt to current milestone) to KDOC
extend or write a separate Spec named PathExpectationsSpec in specs-common (see for instance PathExpectationsSpec) and extend it in atrium-api-fluent-en_GB-common/src/test
api-infix
provide a function notToBe writable which returns Expect<T> in pathExpectations.kt (see pathExpectations.kt toBeReadable as a guideline)
add a sample to PathExpectationSamples (might be you need to create this class) and link from the api function with @sample
add @since 0.17.0 (adapt to current milestone) to KDOC
extend or write a separate Spec named PathExpectationsSpec in specs-common (see for instance PathExpectationsSpec) and extend it in atrium-api-infix-en_GB-common/src/test
Your first contribution?
Write a comment 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.
Do not hesitate to ask questions here or to contact us via Atrium's slack channel if you need help
(Invite yourself in case you do not have an account yet).
The text was updated successfully, but these errors were encountered:
Platform (all, jvm, js): jvm
Extension (none, kotlin 1.3): none
Code related feature
Following the things you need to do:
logic
isNotWritable
(see PathAssertions as a guideline)ExpectImpl.feature.extractor...
./gradlew generateLogic
which will update path.kt in logicapi-fluent
notToBeWritable
which returnsExpect<T>
in pathExpectations.kt (see pathExpectations.kt toBeWritable as a guideline)@sample
@since 0.17.0
(adapt to current milestone) to KDOCapi-infix
notToBe writable
which returnsExpect<T>
in pathExpectations.kt (see pathExpectations.kt toBeReadable as a guideline)@sample
@since 0.17.0
(adapt to current milestone) to 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: