Uploaded image for project: 'NPanday'
  1. NPanday
  2. NPANDAY-418

Automatically exclude test sources from main sources in compile-plugin

    Details

      Description

      I'd like to run a configuration, where all test sources are automatically excluded from the main compilation.

      Usually in .NET-Projects, Tests are in a separate assembly. NPanday supports having tests within the same Project, but then they have to be in a separate folder.

      I'd like support for these two layouts:

      Layout one
      MyProj
        - Some.cs
        - More
          - Here.cs 
        Test
          - SomeTest.cs
          - More
            - HereTest.cs
      
      Layout two
      MyProj
        - Some.cs
        - SomeTest.cs
        - More
          - Here.cs
          - HereTest.cs 
      

      In both cases it should be sufficient to tell NPanday how to find test fixtures. Then it can figure out that those are not to be included in the main artifact.

      What do you think?

        Attachments

          Activity

            People

            • Assignee:
              lcorneliussen Lars Corneliussen
              Reporter:
              lcorneliussen Lars Corneliussen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: