{"result":{"depiction_url":null,"edges":{"relation":{"objects":[{"created":"2026-10-07T11:13:19Z","object_id":{"id":2983,"is_a":["text","documentation","developerguide"],"name":"developer_testing_strategy","title":{"_type":"trans","tr":{"en":"Choose checks for a change"}},"uri":"https:\/\/zotonic.com\/id\/2983"},"seq":1},{"created":"2026-10-07T11:13:19Z","object_id":{"id":3029,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_runtests","title":{"_type":"trans","tr":{"en":"runtests: Run selected core test modules"}},"uri":"https:\/\/zotonic.com\/id\/3029"},"seq":2},{"created":"2026-10-07T11:13:19Z","object_id":{"id":3035,"is_a":["text","documentation","developerguide"],"name":"developer_cmd_sitetest","title":{"_type":"trans","tr":{"en":"sitetest: Run site tests using an isolated test schema"}},"uri":"https:\/\/zotonic.com\/id\/3035"},"seq":3}],"predicate":{"id":303,"is_a":["meta","predicate"],"name":"relation","title":{"_type":"trans","tr":{"nl":"Relatie","en":"Relation"}},"uri":"http:\/\/purl.org\/dc\/terms\/relation"}},"subject":{"objects":[{"created":"2026-10-07T11:13:19Z","object_id":{"id":2554,"is_a":["categorization","keyword","keyword_information_type"],"name":"zotonic_topic_how_to_guide","title":"How-to guide","uri":"https:\/\/zotonic.com\/id\/2554"},"seq":1},{"created":"2026-10-07T11:13:19Z","object_id":{"id":2564,"is_a":["categorization","keyword","keyword_audience"],"name":"zotonic_topic_backend_developer","title":"Backend developer","uri":"https:\/\/zotonic.com\/id\/2564"},"seq":2},{"created":"2026-10-07T11:13:19Z","object_id":{"id":2613,"is_a":["categorization","keyword","keyword_domain"],"name":"zotonic_topic_development_and_debugging","title":"Development and debugging","uri":"https:\/\/zotonic.com\/id\/2613"},"seq":3},{"created":"2026-10-07T11:13:19Z","object_id":{"id":2670,"is_a":["categorization","keyword","keyword_technology"],"name":"zotonic_topic_erlang_otp","title":"Erlang\/OTP","uri":"https:\/\/zotonic.com\/id\/2670"},"seq":4}],"predicate":{"id":308,"is_a":["meta","predicate"],"name":"subject","title":{"_type":"trans","tr":{"en":"Keyword"}},"uri":"http:\/\/purl.org\/dc\/elements\/1.1\/subject"}}},"id":2937,"is_a":["text","documentation","developerguide"],"links":[{"rel":"self","target":"https:\/\/zotonic.com\/.zotonic\/websub\/topic\/2937"},{"rel":"hub","target":"https:\/\/zotonic.com\/.zotonic\/websub"}],"medium":null,"medium_url":null,"name":"developer_cli_tests","page_url":{"en":"https:\/\/zotonic.com\/docs\/2937\/run-tests-and-site-checks","x-default":"https:\/\/zotonic.com\/docs\/2937\/run-tests-and-site-checks"},"preview_url":null,"resource":{"body":{"_type":"trans","tr":{"en":"<ul><li><code>runtests<\/code> starts the configured test runner and accepts test selections.<\/li><li><code>sitetest garden<\/code> stops the site, drops and uses the <code>z_sitetest<\/code> database schema, runs site tests, then restarts with normal configuration. Use a disposable test environment and avoid concurrent runs sharing the database.<\/li><\/ul>\n<p>Read the relevant reference page before choosing arguments. Tests may create or change data; a passing startup check is not a complete test of models, permissions, and browser behavior.<\/p>\n<p>Run a focused test for the change, then the repository&#39;s required broader checks. Preserve the first meaningful error and reproduce it with a minimal case rather than repeatedly restarting the whole node.<\/p>"}},"category_id":{"id":317,"is_a":["meta","category"],"name":"developerguide","title":"Developer guide","uri":"https:\/\/zotonic.com\/id\/developerguide"},"content_group_id":{"id":339,"is_a":["meta","content_group"],"name":"default_content_group","title":{"_type":"trans","tr":{"en":"Default Content Group"}},"uri":"https:\/\/zotonic.com\/id\/default_content_group"},"created":"2026-10-07T11:12:56Z","creator_id":{"id":1,"is_a":["person"],"name":"administrator","title":"Site Administrator","uri":"https:\/\/zotonic.com\/id\/1"},"doc_editorial_bundle":true,"doc_editorial_edges":{"relation":[2983,3029,3035],"subject":[2554,2564,2613,2670]},"is_authoritative":true,"is_dependent":false,"is_featured":false,"is_protected":false,"is_published":true,"is_unfindable":false,"language":["en"],"modified":"2026-10-07T20:45:39Z","modifier_id":{"id":1,"is_a":["person"],"name":"administrator","title":"Site Administrator","uri":"https:\/\/zotonic.com\/id\/1"},"name":"developer_cli_tests","pivot_geocode":null,"pivot_location_lat":null,"pivot_location_lng":null,"privacy":0,"publication_end":"9999-06-01T00:00:00Z","publication_start":"2026-10-07T11:12:56Z","slug":"run-tests-and-site-checks","summary":{"_type":"trans","tr":{"en":"Use the project&#39;s test workflow in a dedicated development or test environment. Two CLI entry points have different scopes:"}},"title":{"_type":"trans","tr":{"en":"Run tests and site checks"}},"title_slug":{"_type":"trans","tr":{"en":"run-tests-and-site-checks"}},"tz":"UTC","uri":null,"version":19,"visible_for":0},"uri":"https:\/\/zotonic.com\/id\/2937","uri_template":"https:\/\/zotonic.com\/id\/:id","websub":{"hub":"https:\/\/zotonic.com\/.zotonic\/websub","topic":"https:\/\/zotonic.com\/.zotonic\/websub\/topic\/2937"}},"status":"ok"}