Documentation
Chrono Mock starts one Windows application at a date and time you choose and leaves the clock of the computer alone. These pages show how to do that in the window and on the command line, and how to read what it tells you afterwards.
Where to start
- The first time: Your first session goes through one in the window, from choosing the application to reading the result.
- In a script or a pipeline: the CLI reference lists every command and option, Exit codes what a script can branch on and JSON output every field it can read. CLI and CI shows a whole pipeline.
- When a session did not do what you expected: Reading the report says what each line means, and Troubleshooting what to do about it.
- Before you run what you downloaded: Checking what you downloaded.
All pages
Start
- Documentation
- How to run a Windows application at another date and time with Chrono Mock: your first session, the window, presets, holiday calendars, every command line option and exit code, and what to do when something does not work.
- Your first session
- Step by step in the window: pick an application, pick the date, start it, and read what the verdict says about whether the application really read the date it was given.
The window
- Run an app
- Every field and option of the tab that starts an application on another date: the date and time zone, the speed, the options for web pages inside an application, the session screen and the result.
- Calculator
- The Calculator tab part by part: scenarios, building a date from steps, business days in a holiday calendar, every format with a copy button, the command that gives the same result, and reading a pasted date.
Scenarios and calendars
- Scenarios
- Every scenario (preset) that comes with Chrono Mock: the date it gives, what it tests, where it works and which values it asks for, and the file format for writing your own.
- Holiday calendars
- The holiday calendars business days are counted in: every holiday of each one with the years it applies, the years each calendar covers, the day it was checked against the law, and writing your own.
Command line
- CLI reference
- Every command and option of chrono.exe, the Chrono Mock command line: chrono run, chrono calc, presets, calendars, version and license, with examples.
- Reading the report
- The report chrono run prints at the end of a session, line by line: the verdict, the clocks the application read and how often, what it ended with, the warnings, and the evidence file --report writes.
- Exit codes
- Every exit code of the chrono command line: the session verdict of chrono run (0 works, 10 partially, 11 does not work, 4 undetermined) and every code that means the run did not get that far.
- JSON output
- What chrono calc, presets, calendars and run write with --json: every field of chronomock.calc/1, presets/1, calendars/1 and plan/1, and every line of a session as it runs.
Help
- Troubleshooting
- What to do when a Chrono Mock session does not start, the application closes at once, the session is refused or the application shows the real date, by the key the report gives.
- Checking what you downloaded
- How to check a downloaded Chrono Mock package: its SHA-256 checksum, the signature on every program the project builds, and the attestation of its bill of materials, with or without a network.