Skip to content

Reverting the removal of the tests via .gitattributes #6605

Closed
@fabpot

Description

@fabpot

I think that it is not worth removing the tests classes from archives via the .gitattributes file. The more I think about it, the more I think that the benefits are really small and the drawbacks quite huge:

  • people use some of our test classes in their own tests (we have already moved some of them to a Test/ directory and that helps bu I fear that many more will need to be moved -- see https://twitter.com/huizendveld/status/288331330998116352 for an example);
  • people like to have a look at the tests to understand how the code works;
  • when working on a patch locally on a project, there is no way to run the unit tests to check that everything still work as expected.

I would like to revert this change. Opinions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions