I have a workspace where one of the crates uses macrotest. In that crate, I also put a workspace dev-dependency on another crate for other tests via test-sys.workspace = true. This causes macrotest to fail to pass. Other non-macrotest tests pass fine, and removing the workspace dev-dependency causes macrotest tests to pass
output:
---- tests::macro_expansion stdout ----
Running 1 macro expansion tests
Expansion error:
error: failed to parse manifest at `D:\test-ws\target\tests\test-package\macrotest002\Cargo.toml`
Caused by:
error inheriting `test-sys` from workspace root manifest's `workspace.dependencies.test-sys`
Caused by:
`workspace.dependencies` was not defined
I have a workspace where one of the crates uses
macrotest
. In that crate, I also put a workspace dev-dependency on another crate for other tests viatest-sys.workspace = true
. This causes macrotest to fail to pass. Other non-macrotest tests pass fine, and removing the workspacedev-dependency
causesmacrotest
tests to passoutput:
macrotest version: latest on main c4151a5