Hi all,
I am new to NCrunch Please guide me to build the project successfully.
I installed NCrunch on my machine but I am unable to build my project getting error the build is failure and by mistake I removed that project from ncrunch list of project I want it again to view and enable the build
Remco NCrunch Developer
#9361
03 Nov 2016 07:28 UTC
Hi Omkar,
Thanks for posting.
If you've ignored the project using your NCrunch configuration, it should be possible to turn off the 'Ignore this project completely' setting inside the NCrunch configuration for this project.
There have been some reports of projects disappearing from the configuration window after they've been ignored. If this is affecting you, it should be possible to edit the .ncrunchproject file for this project and set the 'IgnoreThisComponentCompletely' setting to 'False', then restart Visual Studio.
Thanks for posting.
If you've ignored the project using your NCrunch configuration, it should be possible to turn off the 'Ignore this project completely' setting inside the NCrunch configuration for this project.
There have been some reports of projects disappearing from the configuration window after they've been ignored. If this is affecting you, it should be possible to edit the .ncrunchproject file for this project and set the 'IgnoreThisComponentCompletely' setting to 'False', then restart Visual Studio.
Thank You I am able to see the Project in NCrunch windows but i need more help regarding building project .I am not able to build that project How to build particular project using ncrunch.
Remco NCrunch Developer
#9363
04 Nov 2016 08:19 UTC
MrOm3110 wrote:Thank You I am able to see the Project in NCrunch windows but i need more help regarding building project .I am not able to build that project How to build particular project using ncrunch.
I'm glad that worked!
Unfortunately I cannot provide guidance on build issues without more specific information. However, most build problems are fairly straightforward to troubleshoot. I strongly recommend having a look at the build issue troubleshooting guide to see if this helps solve your problem.
Showing error Cannot copy Microsoft Enterprise Library to work space but i sent this option to True in configuration.
Remco NCrunch Developer
#9365
04 Nov 2016 22:40 UTC
Can you copy/paste the full error message you're receiving?
In Status Column I am getting First Time Build what it means? Is the project build successfully or not
I am getting the message
NCrunch: If you are experiencing problems in getting this project to build, have a look at http://www.ncrunch.net/documentation/troubleshooting_project-build-issues
An unknown error has occurred - check the processing queue for more information
WARNING - C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets: MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved. These reference conflicts are listed in the build log when log verbosity is set to detailed.
WARNING - CatalogServiceTest.cs (874, 26): CS0612: 'CatalogService.GetFamily(long)' is obsolete
NCrunch: If you are experiencing problems in getting this project to build, have a look at http://www.ncrunch.net/documentation/troubleshooting_project-build-issues
An unknown error has occurred - check the processing queue for more information
WARNING - C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets: MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved. These reference conflicts are listed in the build log when log verbosity is set to detailed.
WARNING - CatalogServiceTest.cs (874, 26): CS0612: 'CatalogService.GetFamily(long)' is obsolete
Remco NCrunch Developer
#9374
07 Nov 2016 20:12 UTC
Hi Omkar,
This looks to be the result of an internal error. Would you be able to submit a bug report after trying to start NCrunch on this solution? You can do this using the 'NCrunch->Submit Bug Report' menu option. I should then be able to review the error and advise further.
This looks to be the result of an internal error. Would you be able to submit a bug report after trying to start NCrunch on this solution? You can do this using the 'NCrunch->Submit Bug Report' menu option. I should then be able to review the error and advise further.
Deleted post
#9380
08 Nov 2016 10:26 UTC
Thank You Very Much for your valuable support.
but I am not able to see the Method Name and its code coverage percentage in HTML report. Is it possible to see the Method Name and its code coverage from particular class of Test Project
Remco NCrunch Developer
#9382
08 Nov 2016 11:12 UTC
Hi Omkar,
Unfortunately this information isn't available under NCrunch, as the coverage data that is collected by the tool is attached to the source files instead of the assembly internals. The most detailed level that coverage percentage can be shown is source file level.
Unfortunately this information isn't available under NCrunch, as the coverage data that is collected by the tool is attached to the source files instead of the assembly internals. The most detailed level that coverage percentage can be shown is source file level.
Is there is any other way to get this information because I need this kind of report to show my client.
For Example I want report like
OrderService (Test Class Name) 88.95%
GetCart (Method Name) 45.63%
GetCustomerDetail (Method Name) 85.36%
GetCardSummary (MethodName) 100%
Please if there is any other way to get the report like this in HTML format then please inform me.
OrderService (Test Class Name) 88.95%
GetCart (Method Name) 45.63%
GetCustomerDetail (Method Name) 85.36%
GetCardSummary (MethodName) 100%
Please if there is any other way to get the report like this in HTML format then please inform me.
Edited 08 Nov 2016 12:15 UTC
Remco NCrunch Developer
#9385
08 Nov 2016 18:52 UTC
Hi,
I am sorry but NCrunch is not able to provide this information in the structure you are asking for.
I am sorry but NCrunch is not able to provide this information in the structure you are asking for.
Post a reply
Log in to reply.