• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / tarantool / 10385124589
88%

Build:
DEFAULT BRANCH: master
Ran 14 Aug 2024 10:15AM UTC
Jobs 1
Files 514
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Aug 2024 09:34AM UTC coverage: 87.184% (+0.01%) from 87.172%
10385124589

push

github

Buristan
datetime: test RFC 3339 and ISO 8601 formats

The commit 3c40366172e3 ("datetime, lua: date parsing functions")
introduced a function `datetime.parse()`. The function accepts
a datetime format: 'iso8601', 'rfc3339' and a custom datetime
format. However, 'iso8601' as well as 'rfc3339' is a set of
datetime formats (see [1] and [2]), and `datetime.parse()`
supports a subset of these formats. There is a documentation
issue [3], where we should describe what formats are supported
and what formats are not.

The patch adds a tests for most of supported formats.
The tests were created using a page about date and time formats
in ISO 8601 and RFC 3339 standards [2] and these tests are not
exhaustive. More thorough testing can be done with property-based
testing and randomization. It will be a subject of the following
commits.

1. https://datatracker.ietf.org/doc/html/rfc3339
2. https://ijmacd.github.io/rfc3339-iso8601/
3. https://github.com/tarantool/doc/issues/3155

Follows up #6731
Needed for tarantool/doc#3155

Co-authored-by: Sergey Kaplun <skaplun@tarantool.org>

NO_CHANGELOG=testing
NO_DOC=tarantool/doc#3155

68234 of 121501 branches covered (56.16%)

100867 of 115695 relevant lines covered (87.18%)

2441340.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10385124589.1 14 Aug 2024 10:15AM UTC 0
87.18
GitHub Action Run
Source Files on build 10385124589
Detailed source file information is not available for this build.
  • Back to Repo
  • dcb19636 on github
  • Prev Build on master (#10354093829)
  • Next Build on master (#10387654506)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc