sqlite: Can I mock the current time `now()` for testing? -


i build test suite program runs lot of sql statements now() against sqlite data base. mock sqlite clock --- test behaviour designed take several days within 1 second. not want touch system clock.

is possible sqlite?

sqlite's built-in functions can redefined sqlite3_create_function.

[edit yaakov belch --- additional information:]


Comments

Popular posts from this blog

java - Unable to make sub reports with Jasper -

scala - play framework: Modules were resolved with conflicting cross-version suffixes -

Save and close a word document by giving a name in R -