Please visit the most current NCover FAQ for updated information.
- What programming languages does NCover support?
- Does NCover support C, C++, or JAVA?
- Does NCover support the .NET Compact Framework?
- Which versions of the .NET Framework does NCover support?
- Does NCover support Silverlight?
- Does NCover support Mono?
- Does NCover support WCF, WF, WPF, WinForms, ASP.NET, or ASP.NET MVC?
- Does NCover support ASP.NET or ASP.NET MVC?
- Does NCover support 64-bit programs?
- Does NCover support 32-bit programs on 64-bit computers?
- Does NCover support emulators?
What programming languages does NCover 3 support?
NCover 3 supports any programming language that runs on the .NET Framework Common Language Runtime and conforms to the CLI specification. Although there are many languages that meet those criteria (Wikipedia has a list here), the most widespread .NET languages are C#, VB.NET, and C++/CLI.
Does NCover 3 support C, C++, or Java?
C and C++ traditionally compile directly to machine code, not the Common Intermediate Language (CIL), so NCover 3 is unable to cover code written in either C or C++. However, Microsoft ships a C/C++ compiler that is capable of compiling C/C++ to CIL, and calls the resulting language "C++/CLI". NCover can cover C/C++ code that has been compiled to C++/CLI.
NCover 4 cannot cover native C++, but it can profile managed C++ code.
Java compiles to the Java bytecode and runs on the Java Virtual Machine, hence NCover cannot cover Java code. However, the IKVM.NET project is an implementation of Java/the Java Virtual Machine that runs on the .NET Framework, and NCover can cover programs compiled with IKVM.NET.
Does NCover support the .NET Compact Framework?
Yes, NCover can cover applications written against the .NET Compact Framework, as long as the application is run as a stand-alone application, and not within an emulator or on a mobile device.
Which versions of the .NET Framework does NCover support?
NCover 4 supports all versions of the .NET Framework that Microsoft has released and still supports. Currently, this includes .NET 1.1 (.NET 1.0 is unsupported), .NET 2.0, .NET 3.0, .NET 3.5, .NET 3.5 SP1, .NET 4.0, and .NET 4.5.
NCover 3 does not support .NET 4.5, and no support for future .NET versions is planned.
Does NCover support Silverlight?
NCover 4 does support profiling of Silverlight 4 and up.
NCover 3 does not support the Silverlight runtime. Many Silverlight developers have had success testing their code and collecting coverage with NUnit or other .NET testing tools running on the native CLR, though, since the CLR supports most of the Silverlight runtime libraries.
NCover does not support applications running on the Mono Framework. However, applications that run on the Mono Framework should be able to run on the .NET Framework when executed on a Windows OS. Once the application runs on the .NET Framework (it might need to be recompiled) NCover can cover the application.
If you do need to cover an application that runs on the Mono Framework, then Mono has several code coverage tools available. You can check them out here.
Does NCover support WCF, WF, WPF, and WinForms?
NCover supports each of the above frameworks. In particular, NCover supports WCF whether its hosted in IIS, in a Windows Service, or in a standard (Console or GUI) application. NCover also supports WPF and WinForms, although the auto-generated code in each framework sometimes leads to interesting covered/uncovered highlights.
Does NCover support ASP.NET or ASP.NET MVC?
NCover supports both standard ASP.NET and ASP.NET MVC, whether the code is tested through a unit testing tool or through a web interface.
Does NCover support 64-bit programs?
The 64-bit NCover installer (only for 64-bit computers and operating systems) offers full support for 64-bit programs.
NCover 4 automatically profiles at either bitness level -- this means you don't have to pick which profiler to run, and processes that switch bitness can still be covered in one profiling session.
Does NCover support 32-bit programs on 64-bit computers?
The 64-bit NCover installer comes with full support for 32-bit programs, provided through a minimal install (into C:\Program Files (x86)\NCover) of core NCover technology tuned to cover 32-bit programs.
NCover 4 automatically profiles at either bitness level -- this means you don't have to pick which profiler to run, and processes that switch bitness can still be covered in one profiling session.
Does NCover support emulators?
NCover can profile code that is run in a .NET framework, but testing a UI for a mobile device, for example, in an emulator is not supported. See question three for more details