Skip to content

directory aware testing #5810

Closed
Closed
@Jan-Jan

Description

Is there an existing issue?

  • I have searched the existing issues

Experiencing problems? Have you tried our Stack Exchange first?

  • This is not a support question.

Motivation

At the moment if I run cargo test in the polkadot-sdk/templates/solochain it runs the test for the whole monorepo, instead of just running the tests specific to that directory (i.e. that you would get with cargo test -p pallet-template).

This directory aware testing would make it easier for noobs to contribute to the SDK (since a smaller, more targeted test set would run to specifically test their changes).

Request

Create directory aware testing for each of the "components"/"sub-repos"

Solution

Disclaimer: I have no idea how to implement this, but would be happy to learn.

Are you willing to help with this request?

Yes!, Maybe (please elaborate above)

Metadata

Assignees

No one assigned

    Labels

    I5-enhancementAn additional feature request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions