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 - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -