# runtests: Run selected core test modules

Source: https://zotonic.com/docs/3029/runtests-run-selected-core-test-modules

URI: https://zotonic.com/id/3029

Language: en

Run selected core test modules.

Syntax
------

```text
bin/zotonic runtests [test_module ...]
```

Requirements and effects
------------------------

Starts the configured test node through the launcher test workflow.

The implementation discovers Erlang test files under `apps/zotonic_*/test`. Arguments select exact discovered module names, without `.erl`; no arguments select all discovered tests. It does not automatically scan every apps\_user test directory. Check test selection and output carefully: an unmatched name can select no tests.

Example
-------

```sh
bin/zotonic runtests
```

Run commands from the Zotonic workspace root. Replace `garden` with your site name where applicable.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/3029?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/3029?language=en>)
