R
R
RuthenRa2020-11-06 19:26:23
Java
RuthenRa, 2020-11-06 19:26:23

How to correctly fill in the fields with dates yml dataset'a for controller testing?

Good afternoon! I am currently writing tests for the controller, through MockMVC, using yml datasets. There are many requests with dates in the controller (per day, per week, per month). I can’t figure out how to properly approach the issue of filling the dataset with dates in order to exclude their manual filling, and so that the test data does not lose its relevance after the expiration of (day, week, month)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
RuthenRa, 2020-11-10
@RuthenRa

The question was removed.
If it will be useful to anyone, then thanks to the use of js inside the yml document, through "JS : code"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question