November 10 – 12, 2020

Online Edition!

EUROPE'S GREATEST AGILE SOFTWARE TESTING FESTIVAL!

Generating useful date and time values for your tests

Many automated tests require setting a date or datetime, and these can be quite tricky to generate.Let me show you some examples of how to easily create them.

Working with dates and times in automated tests can be very difficult. You need to generate dates in different formats, or from different timezones. You need to generate yesterday’s date, or the date of the last day of the current month. How about the date of the previous Monday counting from the current date?

In case any of these are something you too need in your tests, this workshop will help you figure out how to generate these cumbersome date and time values. Staring: Java, LocalDate, LocalTime, LocalDateTime and SimpleDateFormat.


More Related Sessions


30-minute Talk

16:10-16:40 Room F2 - Track 2: Talks

In pursuit of hAPIness

30-minute Talk

11:10-11:40 Room F3 - Track 3: Talks

When QA played it SAFe!

150-min Workshop

14:25-17:25 Room D3+D4 - Track 7: Workshops

Git Like A Pro For Beginners

Equipment required

75-minute Workshop

14:25-15:40 Room E3 - Track 5: Workshops

Automatic Accessibility Testing for All

Equipment required

If you like AgileTD you might also be interested in :

Your privacy matters

We use cookies to understand how you use our site and to give you the best experience on our website. If you continue to use this site we will assume that you are happy with it and accept our use of cookies, Privacy Policy and Terms of Use.