According to this schema VS2010 Premium and Ultimate has a tool for checking Code Coverage - together with a few other testing tools. Does this support nUnit too, or just MS test?
I am using codeigniter. I want to know how to set up a cron job to check a table for expiring users and insert data in to another table with the list of expiring users. How to do that.
When i tried to write a script with controller and model to insert the table
:
Content-type: text/html
Fatal error: Class 'Controller' not found in /home/content/html/test/live/application/controllers/cron.php on line 2
After test driving Google Chrome for 30 minutes or so, I like it, even if it seems bare-bones at the moment. The obvious way to add a few things I can't live without would be through plugins. Does anyone have any links to resources on how to get started building a plugin/addon for Chrome? Thanks.
I have an authority string defined as such:
public final static String AUTHORITY = "dsndata.sds2mobile.jobprovider";
Followed by an edition to the UriMatcher:
uriMatcher.addURI(JobMetaData.AUTHORITY, "/JobNames/*",
JOBNAME_SINGLE_URI);
The uri that gets passed to the switch is:
content://dsndata.sds2mobile.jobprovider/JobNames/test
This falls through the switch and hits the default (which throws an IllegalArgumentException).
Am I missing something? I've searched and can't find anything that would account for the mismatch.
Say i have loaded some random address like 0x00001234 into eax. Is there a way to test that this address is valid/exists before jumping to it or dereferencing it?
Or do I have to implement an exception handler?
I am working on this gorgeous header here at : http://kayaskitchenbelmar.com/test/header.html
Unfortunately, in IE6, the drop downs that come off of the Print and View buttons collapse on to a new line.
This is because of the common z-index bug. I tried resolving this by making the parent div have a higher z-index and position relative with its child a lower z-index and position absolute, but that didn't seem to work.
Possibly I'm missing something obvious?
Thanks so much
Here is my test: I access a servlet to get the JVM to load (absorb the loading request). Then i access a JSP that has <%= 5+7 %> in it and nothing else. The first access to this JSP uses 350ms of CPU time and has latency of 200ms. Subsequent accesses only have latency and cpu time of about 20ms.
Why does the first access to the jsp after starting the servlet container take longer?
http://www.mysite.com/http://www.test.com
I have tried many different methods using .htaccess with no luck. I need to get that second url coming as parameter. Is it possible to redirect it to index.php and get it as $_SERVER["REQUEST_URI"] or other method? Thanks
I have my web server set up as a remote git repo, so I can type "git push staging" and my last commit goes live on the server. I used this tutorial to set this up.
A lot of the time, I'm testing a new feature, and I want to test several iterations of it on the staging server, before it's ready to quality as a commit. Is there a way to push my working directory to the server without having to commit it first?
Hi,
I would like to know the method of setting up sub-domains in the development environment. Don't have any hosting account yet. But would like to test it up internally by simulating a similar setup that would be provided by the hosting company later on.
Thanks!
Our performance testing team is running test on our WPF-WCF-Sql Server application and they are facing connection timeout after the load goes above 75 users
Error -27796: Failed to connect to server "81.171.180.119:4567": [10060] Connection timed out
I would like to know what can be steps to look at bottlenecks which may be causing issues like maybe some setting in Load Runner or identify the code bottlenecks.
Thanks
Hi,
I've had to write an application that lists and plays tutorial videos along with accompanying text. It works well but since the videos are added by the user I need a way of checking to see whether or not a video can be played on the machine.
I'm not sure whether or not there is an easy way to try test the file (and catch errors) or if I need to start looking at codecs installed.
Does anybody have any experience with this?
hi,
I cannot see flash video player in IE in this website: www.donatellabernardi.ch/drupal
It works in other browsers: For example click on the article 'Test Jacques' and scroll down, you'll see an empty space instead of the video.
thanks
Can subsonic 3.0 be used with a winform app? Do I need to add any references to the system.web?
If it can be done, how can I exclude certain tables in the DB? Can I use the following whih I am using for subsonic 2.0
<providers>
<!--<clear/>-->
<add name="TEST" type="SubSonic.SqlDataProvider, SubSonic" connectionStringName="myString" includeTableList="CustomerReference" includeProcedureList=""/>
</providers>
I'm writing a Bourne Shell script to automatically edit a source file.
I get the line number I need like this:
line=`sed -n '/#error/=' test.h`
line=$[$line - 2]
Now I want to insert a few lines of text after this line number, how can I do this?
.NET 4.0 is meant to run side-by-side with 3.5 and won't run 3.5 apps, which is making me worried about having to instruct my users to download .NET 3.5 instead of just "the latest version".
I've read in a blog that the 4.0 installer will install 3.5 as well if it's not already installed but I can't test it right now, did anyone try this or have an answer from a trusted source?
I want to branch if a message-property-code does exist or not.
<g:if test="${message(code: 'default.code.foo')}">
true
</g:if><g:else>
false
</g:else>
should answer true if there a message property named default.code.foo and false if not.
It fails because it answers the code if there is no property for it.
Hi,
Is there a way to know if a remote object implements an interface (I cannot change/add methods to the remote object).
Indeed I cannot use a IsAssignableFrom nor the "as" to test since it's a remote object. Then I have an exception when I try to call a non implemented methods.
Thx
I'm working with PreparedStatement with MySQL server.
example:
String myQuery = "select id from user where name = ?";
PreparedStatement stmt = sqlConnection.prepareStatement(myQuery);
stmt.setString(1, "test");
stmt.executeQUery();
ResultSet rs = stmt.getResultSet();
How can I receive the full SQL query that is about to be executed on the MySQL server?
thanks!
Can't believe how difficult this seems to be all I want to is to validate a user inout using javascript to make sure that it is an email address. But can't get it to work:
I am using:
//validates a regulaer expression
Utilities2.prototype.validateEmail = function(stringToValidateArg)
{
alert('about to check regexp');
var regExpPattern = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/;
alert(regExpPattern.test(stringToValidateArg));
}
But this always returns false, any ideas why is it because of the regular expression?
Hi,
I need a profiler that is able to measure performance of web service execition.
Our application has several layers and ideally I would like to be able to dive into each web service request and see how much time was spent in each layer (server, sql server, etc...)
Is there a tool that can help detect where are the bottlenecks ?
Is that something that can be done using VS Team System Test Edition ?
HI
I develop the wcf service for hosting in IIS. test service in computer(which is service host in itself IIS) and as result this service work fine.
But When I try use that service from other Computer, service not responding and service cant be find!!!
hi
i have a simple question
where is my code wrong ?
in index controller and index action
i put
$this->view->username="user1";
and when i try in my layout i use
echo $this->username;
i got fllowing error or null value
Notice: Trying to get property of non-object in D:\Zend\Apache2\htdocs\test\application\layouts\layout.phtml on line 115
thanks