Forum member

albertomonteiro

17 posts

Posts by albertomonteiro

  1. Provide teamcity metrics in Console Tool

    I am using NCrunch Console Tool. Since that doesnt offer a result in xml with final coverage result I am using "RawCoverageResults.xml" to discover that, and using values to report to TeamCity writing on "teamcity-info.xml" file. You can check TeamCity documentation here: https://confluence.jetb…

  2. Using NCrunch.Framework in Open Source projects

    Hi, Can you look this https://github.com/jjrdk/ArchiMetrics/pull/7 and tell me if there is any problem? The source code modification in this PR hurt the meaning of "open source"?

  3. Test with Threads wont pass

    Hi, I am working on this Project: https://github.com/jjrdk/ArchiMetrics When running test from class "PrioritySchedulerTests" with Test Explorer in VS 2013, all tests work fine. But if I run using NCrunch, they doesnt pass. I get following error: An exception was thrown in the Task Enviro…

  4. Wrong metric calculation

    I generated a dotCover xml file that teamcity read to discover code coverage. As you said, they do it by classes and methods. Since NCrunch give line number, I will have to dig inside code file and discover some information about this line, if it is some method.... I am going to try make it work …

  5. Wrong metric calculation

    Very cool. I tested here, and it is awesome!!! Tomorrow I will try it in TeamCity :P I also started a Project that will convert NCrunch coverage in dotCover coverage, since TeamCity doesnt support custom coverage. https://github.com/AlbertoMonteiro/NCrunchToDotCover

  6. Wrong metric calculation

    There is a plan to enable ncrunch run in a console? I am using Microsoft.Fakes and when I try to use dotCover to generate coverage for TeamCity, it doesnt work fine in tests that use ShimsContext.Create() like that: Microsoft.QualityTools.Testing.Fakes.UnitTestIsolation.UnitTestIsolationExceptio…

  7. Wrong metric calculation

    I got you. When you make the instrumentation, and the code contains a OpCodes.Nop, then this line will be counted for the metric of coverage?

  8. Wrong metric calculation

    Hi, I use teamcity for build my Project, and I use dotCover to generate coverage report. I was looking both reports, and I noticed that dotCover and NCrunch calculate different values. Here follows NCrunch metric: [img=(- BROKEN LINK -)]Wrong metric calculation[/img] Here follows dotC…

  9. ncrunch from commandline

    I would like to retrive code coverage from ncrunch using command line, is it possible?

  10. Intellitrace unavaliable

    Yeah, I would like, I use IntelliTrace to check SQL Querys sent from ORM's, and I would love to do it with NCrunch debugger.

  11. Intellitrace unavaliable

    When I am debugging with NCrunch I can't see Intellitrace window, but if I use ReSharper debugger, it work properly. Doesn't NCrunch support Intellitrace?

  12. Properties and false code coverage

    So will NCrunch support half green indicator when using ?? operator? In my application I use "??" operator sometimes, and I would like to be warned when still need to cover. I am using version 1.46.0.20.

  13. IL Injection

    Yeah, I saw here: https://gist.github.com/2817057 Thats very nice!!! Btw, I love Mono.Cecil!!! I changed the logic test. Now I test the added instruction instead of testing the total number of instructions, thus, no need to worry about the code inserted by him

  14. IL Injection

    I was testing my "small" aop framework https://github.com/AlbertoMonteiro/ThrowHelper I injected IL after build, and I was trying to tests Instructions count with Mono.Cecil, but something was wrong, the instruction count was very higher than should be, so I dissabled it and saw that you inject so…

  15. Source code

    I am sad, I'd really like to help, I think is best way to contribute is to help with code, the success of github makes it quite evident. I suppose you plan to make future ncrunch paid, it makes sense to keep it closed. But in the meantime why dont you put a donate ncrunch the site is a fantastic p…

  16. Source code

    I want to contribute with project, how can I do it?

  17. Source code

    Is NCrunch open source?