[
https://issues.apache.org/jira/browse/NPANDAY-418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brett Porter resolved NPANDAY-418.
----------------------------------
Resolution: Fixed
> Automatically exclude test sources from main sources in compile-plugin
> ----------------------------------------------------------------------
>
> Key: NPANDAY-418
> URL: https://issues.apache.org/jira/browse/NPANDAY-418
> Project: NPanday
> Issue Type: Improvement
> Components: Maven Plugins
> Affects Versions: 1.4-incubating
> Reporter: Lars Corneliussen
> Assignee: Lars Corneliussen
> Labels: compile, test
> Fix For: 1.5.0-incubating
>
>
> 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:
> {code:title=Layout one}
> MyProj
> - Some.cs
> - More
> - Here.cs
> Test
> - SomeTest.cs
> - More
> - HereTest.cs
> {code}
> {code:title=Layout two}
> MyProj
> - Some.cs
> - SomeTest.cs
> - More
> - Here.cs
> - HereTest.cs
> {code}
> 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?
--
This message was sent by Atlassian JIRA
(v6.2#6252)