Add DateAssertion starter implementation
JoseLion opened this issue ยท 1 comments
JoseLion commented
We need to add the starter implementation for assertions of Date
instances. By "starter" we mean that we should add the most meaningful assertions needed for Date
instances. More complex assertions can be left to a second iteration. Please follow the following guideline to keep consistency across the library:
- Name the class
DateAssertion
and extend it fromAssertion
- Use
StringAssertion
as a guide for creating assertions and adding tests - We can get ideas of assertions specific to
Date
by looking into AssertJ, jest, and jest-extended- AssertJ has a base class DateAssert with some shared methods
- There's a more specific class DateTimeAssert, but Java's
DateTime
is immutable and more extensive than JavaScript'sDate
object, so we need to check if any of those methods will be applicable.
github-actions commented
๐ This issue has been resolved in version 1.0.0 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐