Rstest Best Practices Apply these rules when writing or reviewing Rstest test projects. Configuration - Use and from - Prefer explicit imports over - For Rsbuild projects, use with to reuse build config - For Rslib projects, use with to reuse build config - Use for shared test setup (e.g., custom matchers, cleanup hooks) - When using Rsbuild plugins (e.g., ), add them via the field - For deep-level or advanced build configuration needs, use or CLI - Use or to run tests ( disables watch mode, suitable for CI) - Use or for local development with file watching - Use to list all test files and te…