I’m writing a program and I’d like to add tests. I search the web and find that there’s a new way:
The recommended way to add test-specific dependencies is to use workspaces. This is done by:
Adding a [workspace] section to your package’s Project.toml:
[workspace]
projects = ["test"]
Then what? Having done that, how do I add a test-specific dependency to the workspace? Do I make a test subdirectory? Are workspaces available starting in 1.12 (which I’m running) or 1.13 (which doesn’t exist yet, according to juliaup)?
This looks like a neat feature but restricted to 1.12+, will it be back ported to lts ? Otherwise, can I still use it if my package supports current lts or do I have to wait ?