NPanday adds 'maven-test-plugin' configuration to pom file based on
NUnit.Framework reference in project and not based on test project selected in
Project Unit Tests window
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: NPANDAY-397
URL: https://issues.apache.org/jira/browse/NPANDAY-397
Project: NPanday
Issue Type: Bug
Components: Project Importer
Affects Versions: 1.2.1
Reporter: Adelita L. Padilla
Assignee: Adelita L. Padilla
Fix For: 1.3.1-incubating
Steps to reproduce:
1) Start NPanday and open project
2) Right-click on project then select 'Generate Solution's POM Information...'
3) Provide all needed information and click 'Generate Poms'
4) In Project Unit Test window, select a project then click 'OK'
Result:maven-test-plugin configuration was not added to the pom even if the
project was selected in the Project Unit Tests window
5) Add nunit as maven reference
6) Generate POM again, then in the Project Unit Test window unselect the project
Result: maven-test-plugin configuration was added even if no project was
selected in the Project Unit Test window
Actual Behavior: If not project was selected in the Project Unit Test window
but there is a nunit dependency, generated pom file contains a
maven-test-plugin configuration.
Expected Behavior: maven-test-plugin configuration should only appear in the
pom if a project was selected in the Project Unit Test window.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira