You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Today we are introducing Quartz, a mocking library in Go for testing code that depends on time. By mocking out calls that query or depend on the real time, we can write unit tests that are repeatable, deterministic, and execute as quickly as the CPU allows. This is, in itself, not a new idea. In building Quartz, we took some inspiration from: github.com/benbjohnson/clock Tailscale's tstest.Clock g
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く