Stream: t-compiler/wg-rls-2.0

Topic: test_utils

pksunkara (May 16 2020 at 16:24, on Zulip):

So, I am looking into setting up a publishing workflow for rust-analyzer. I found quite a few packages are using test_utils as normal dependencies but the name suggests it's a dev dep. Can someone clarify this confusion for me?

matklad (May 17 2020 at 08:32, on Zulip):

One reason for that is the tested_by macro, which needs to be placed in production code

pksunkara (May 17 2020 at 08:35, on Zulip):

Should we move it to a new crate?

pksunkara (May 17 2020 at 08:40, on Zulip):

or in one of the existing crates?

matklad (May 17 2020 at 08:43, on Zulip):

No, the current setup is good

pksunkara (May 17 2020 at 08:57, on Zulip):

So, we need to publish test_utils crate if we want to publish the other crates. Probably after renaming it to ra_test_utils

Last update: Sep 22 2020 at 01:30UTC