Hi, you can keep your requirements in a dedicated test file, but still contribute to the default resolve. Pants is smart enough to not include your test only requirements in any packaged pex/dist for you, unless there is code depending on them being packaged. You can leverage depedency rules to safe guard against mistakes like that.
https://www.pantsbuild.org/docs/validating-dependencies
That is, pants prefers one big universe of requirements to work with, and will pick what’s needed for each target out of that. It is only when you have conflicting requirements for different parts of your project you’d need to go down the road of multiple resolves.