Is there concept of dev dependencies in Pkg?

It doesn’t really outline workflow to use
would this still be recommended workflow Add package to `project.toml` when needed only for testing?