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
With this issue we want to add samples for chronoLocalDateTimeExpectations.kt of api-fluent
Following the things you need to do:
api-fluent
create ChronoLocalDateTimeExpectationSamples in apis/fluent-en_GB/atrium-api-fluent-en_GB-jvm/src/test/kotlin/ch/tutteli/atrium/api/fluent/en_GB/samples
add one function per function in chronoLocalDateTimeExpectations.kt (see AnyExpectationSamples)
suffix the function name for the one which expect a String with String e.g. toBeBeforeString
Bonus show all supported formats for the function expecting a string, mentioning the format as comment
refer to the sample in the KDoc of the corresponding function in chronoLocalDateTimeExpectations.kt via @sample (check out toEqual in anyExpectations.kt to see how you have to refer to the sample)
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:
// format yyyy-mm-dd time can be omitted in which case 00:00:00 is used
expect(date).toBeBefore("2021-03-01")
// format yyyy-mm-ddThh minutes and seconds can be omitted in which case 0 is used
expect(date).toBeBefore("yyyy-mm-ddThh
Code related feature
With this issue we want to add samples for chronoLocalDateTimeExpectations.kt of api-fluent
Following the things you need to do:
api-fluent
String
e.g.toBeBeforeString
@sample
(check outtoEqual
in anyExpectations.kt to see how you have to refer to the sample)Your 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: