MVC :: Code Coverage Reports If Not Using TFS?
Nov 25, 2010
PM wants all unit tests to be documented, something I advised against. unit test are for devs by devs, and should be quick to create. To go and document them in a seperate system is going to make it cumbersome.
My point was that we just have to look at code coverage reports (using ms test, but not TFS...just SVN now) and use that "number" as guideline to know if we are doing our work in regards with testing. (not that a high coverage number mean unit test are done right).
View 3 Replies
Similar Messages:
Jun 2, 2010
I switch to nUnit for my pet project (which I started over completely!).
However it seems doing so is costing me code coverage? Or am I just missing a simple and obvious way to enable code coverage when using nUnit.
I'm using ReSharper, which does a great job running my tests. However, VS itself seems not to recognize my tests at all?
View 3 Replies
May 23, 2010
When I turn on Code Coverage in my test settings, on a project that references the Unity DI container I get the following error:
Cannot initialize the ASP.NET project'{Project Name}'.
The event log specifies the following reason:
Could not load file or assembly 'Microsoft.Practices.Unity, Version=2.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Strong name signature could not be verified.
View 2 Replies
Oct 26, 2010
there are thousand of websites on the internet that have live coverage of the channels ,cricket matches.how does they do that? from where does they pick the coverage?
View 1 Replies
Mar 29, 2011
How to Code for genereate Crystal Reports.
View 2 Replies
Apr 7, 2010
how can i get and set crystal report formula fields from c# code behind, i use this code, double sum=reportdocument.datadefinision.formulafields[1].text but it get formula text not value
View 2 Replies
Apr 23, 2010
I have a weird problem that I am struggling with. We have a legacy project (VS 2003), and all I have to do is change a Crystal Reports label, when I change it and save it creates an additional code behind file. So after saving I have the file rptInvoice.rpt with two dependant files rptInvoice.vb and rptInvoice1.vb. I have no idea why it is creating an additional file but it is causing a compiler error.
View 1 Replies
Feb 11, 2010
We're having a problem in our ASP.Net application where the Crystal Reports engine leaves garbage .tmp files in the server's Temp folder after generating reports for the users.So we're trying to figure out how to run the .Close() and .Dispose() methods on the Report object, but we're finding that the code never gets run after the export occurs.
MyReport.Report.ExportToHttpResponse(ExportFormatType.PortableDocFormat,
this.Response, true, "My_Report"); [code]...
Breakpoints set on the last two lines never get hit, and we've also tried putting other code there to test the processing. None of it runs. (I've also seen this question on other sites with similar code, but no answers)I assume the ExportToHttpResponse method is returning a file stream (PDF) to the user at that point, ending the processing so the rest of the code doesn't get run. If that's the case, how do we get CR to perform a cleanup on the temp files, which the Close() and Dispose() methods are supposed to do? Do we have to implement a manual after-the-fact cleanup?
View 1 Replies
Mar 22, 2010
I have problem with displayed html code in crystal reports. I use Crystal reports 2008 version 12.0.0.549 My report ignore more html tags(table, ul-li...). My html code is from db.
View 2 Replies
Mar 15, 2010
How can i export the data in an exel file in to my DB(sql) table . How can i do this using C# code
View 4 Replies
Oct 28, 2010
modify the code which is in indian currency format?
View 1 Replies
Jul 13, 2010
Access font color formula from asp.net code
View 3 Replies
Feb 2, 2011
How to change text of a label in page header using code?
I need to change it based on data source of report.
View 3 Replies
Feb 24, 2011
I wanted to post my problem and solution since I've gotten some good information on this board. When deploying my Visual Studio 2008 C# .NET 2.0 web application Production, I encountered some problems, which is not unusual. What was unusual is that my Crystal Reports .NET reports that use the Report Viewer control would not work; they errored out with:
note: Crystal Report works fine in dev environment....
Logon failed. Details: ADO Error Code: 0x Source: ADODB.Connection Description: Provider cannot be found. It may not be properly installed. Unable to connect: incorrect log on parameters.We are using Oracle 11g 64 bit as database. We establish crystal report database connection by two ways,
1. Microsoft OLE DB Provider for Oracle
2. Microsoft OLE DB Provider for ODBC
but we got the same error in report module when we using two methods.
Our Coding : //CrystalDecisions.CrystalReports.Engine.ReportDocument crpt = new ReportDocument();
private ReportDocument crpt = null;
private void Page_Init(object sender, EventArgs e) [code]....
View 3 Replies
Feb 9, 2010
I am using asp.net 2.0 with c#.
" myReportDocument.ExportToHttpResponse(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, Response, false, rptName);"
As soon as compiler execute this statement i get error
" [System.Threading.ThreadAbortException] = {Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack.} "
What will be the possible reasons for the error.
Although it throws execption but it will allow to convert report when i deployed my site using http but when i deployed my site using https then it will shows error .
View 1 Replies
Jun 13, 2010
I'm new to Visual Studio.NET . I need to integrate the crystal reports into an ASP.NET application. I generated Crystal report with the help of crystal report XI developer edition(Stand alone version and NOT from the one which comes from visual studio).
How to integrate this report with the web application.
View 1 Replies
Jul 16, 2010
We have quite a few reports which were developed earlier in Crystal Reports 8.5. We are now planning to use these reports in our web application developed in VS 2008 (C#).
What dlls are needed for calling 8.5 in the application and how should they be added to the application while shipping it to the client?
They are also struggling to get the code running. Would also need the code to call the report with parameters.
View 9 Replies
Jan 20, 2011
I have a Cystal Report with Group field "category". I want to enable/disable grouping in crystal report from code behind.I want to do something like this
[Code]....
Acually user will decide if grouping is required or not by clicking on checkbox
View 1 Replies
Aug 5, 2010
When i run the application locally it works fine but when i publish it n access from it it gives the error asEither the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.
View 2 Replies
Mar 17, 2011
I have requirement that have to add header and footer into 50 over reports. So I dont want to change one by one.
Is there a way to create master page header and footer and used it in multiple reports?
View 1 Replies
Dec 3, 2010
I have two reports but i want to use the same crystal report viewer to display both reports depending on an option selected. How can I achieve this?
CrystalReportViewer.setCrystalReportSource(CrystalReportSource3) or something like this i am just not sure about the code in c#
View 1 Replies
Mar 10, 2011
Iam working on a banking web application developed in asp.net 3.5 and MS SQL Server 2008.My problem is to create reports including some pre-formatted reports,summary reports and some detail reports.I want to know what is the best technique to create these reports.I don't want to use third party reporting tools as they have to be configured on the web server and some times they takes lot of time in generating reports due to their complex structure.Since its a web application having large recordsets so i need a consistent solution keeping in mind the performance and complex nature of the reports which might be demanded by the banks.Can anyone help me please in this regard?
View 2 Replies
Apr 13, 2013
I have master page, menu on master page, i use asp roles and trim menu item based on user roles and rights this process is working fine.
Now i have to create some reports based on user roles, and responsibility in a company like country head will view country wide reports, manager region will only view regional report and rest will view reports related to them.
How can i achieve this efficiently using asp roles.
View 1 Replies
May 5, 2010
I am using crystal report Xi release 2.
How can I change my reports English to Arabic language?
View 3 Replies
Oct 7, 2010
I am using ssrs 2008. My Report can generate 5000 Record count , 10000 Records count or more than 10000 records count.
When i am rendering large reoport above 10, 000 record count i am getting timeout Exception error.
how can i avoid that exception..?
i read through some forum can genarate one report into mulitiple reports by dividing the record count.
how best i can work on Rendering Large reports.
View 1 Replies