stackbuilders/assertive-ts

Add DateAssertion starter implementation

JoseLion opened this issue ยท 1 comments

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 from Assertion
  • 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's Date object, so we need to check if any of those methods will be applicable.

๐ŸŽ‰ This issue has been resolved in version 1.0.0 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€