Running DAML scripts - puzzling options

Thanks Moritz for your prompt response. It’s fairly confusing.

So running a “daml test” runs all scripts in the project or given DAR file and runs them in a special in-memory emulator?

daml test-script” takes a DAR file, a script identifier and a ledger connection and runs a script against the ledger?

daml script” runs the script on a special in-memory ledger emulator?

When wishing to simply open a DAML file with a script in the IDE it means that you start a sandbox and run all scripts in a given dar file against the sandbox?