hi.
I would like to know if there is a way to test whenever thread finished execution and is waiting for joining. My guess was the use time_join.
is there explicit way to test it?
I have created a Text Messaging product which will be free. But I want Beta Testers for that product. This product can be deployed on Windows, Mac and Linux platforms
How to invite Beta Testers to test my application.
Also I want to know how to invite linux, Mac, StackOverFlow and other community guys to beta test my product.
Thanks
Sunil Kumar Sahoo
I am about to conduct some interviews for a new role at our company and would like to know if there is an industry standard assessment test or organisation that provides this. I recall writing an entry test a few years ago that had an acronym as a name, but I cannot remember what it was. Thanks.
Can somebody suggest an easy way to get a reference to a file as a String/InputStream/File/etc type object in a junit test class? Obviously I could paste the file (xml in this case) in as a giant String or read it in as a file but is there a shortcut specific to Junit like this?
public class MyTestClass{
@Resource(path="something.xml")
File myTestFile;
@Test
public void toSomeTest(){
...
}
}
Is there a way to test the declarative_authorization permissions with respect?
In the documentation it has some instructions to use test unit, but I can't seem to find a way to use rspec.
Hi, how i can configure the Test project of visual studio to use all CPU's core.
when i run the test i can see on my performance indicator that only one core is getting all in just in first core.
In netbeans when I run my junit test it works fine, but when I debug the test it throws NoClassDefFoundError saying it can't find javax.servlet.jsp.tagext.bodytagsupport
Anyone know what could cause this?
In Java how to test if a Collection of objects contains an object depending on one of its properties.
For example I would like to test if Collection<myObjects> contains an instance of myObjects which has myObjects.name = "myName".
Is there any guideline on how to use Visual Studio 2008 unit test development? I am developing a n-tier web application using entity framework. My problem is to create Unit Test for the methods which INSERT or UPDATE to the database.
I have created a web test in vs2010. which browse through the products.
I have 3 roles in my site guest (non logged in ), logged in not verified, logged in verified.
How I can use single test for all 3 roles?
Hi Guys!
I'm new on testing, I'm using PHPUnit to write test. All the site has been designed using the MVC pattern.
I would like to test each method on my controllers, the problem is that such methods receives the parameters though the $_POST variable. How can I overwrite this variable?
Thanks in advance
Alejandra
Does anyone know a good way to test if one element, stored in a var, is the child of another, also stored in a var?
I don't need element1.isChildOf('selector'), that's easy.
I need element1.isChildOf(element2)
element2.find(element1).size() > 0 Does not seem to work.
I don't want to have to write a plugin the uses .each to test each child if I can avoid it.
Hi,
I am planning to test if my linux setup is stable. And I want to test the filesystem of my linux? Is there any standard testing for linux filesystem?
Thanks.
Is there a good way to do this? I'm writing an extension that interacts with a website as a content script and saves data using localstorage. Are there any tools, frameworks, etc. that I can use to test this behavior? I realize there are some generic tools for testing javascript, but are those sufficiently power to test an extension?
Would anyone know how to test for the appearance of a Toast message on an Activity?
I'm using code similar to what the OP posted on this question for testing my program flow from one activity to the next. I'd also like to be able to test for toast messages on particular activities.
I have put some instructions in onLowMemory() callback and want to test the same. Is there a "direct" way to test onLowMemory function of the application subclass?
Or will I have to just overload the phone by starting many apps and doing memory intensive tasks?
Thanks.
Hi,
I'm planning to test my Linux box and I want to start in memory testing. But my problem is what should I need to test the memory in my linux box? Should I need a tool? Or there are some APIs to use to build some scripts?
Thanks
Hi folks,
I'm trying to build a small stress test script to test how quickly a set of requests gets done.
Need to measure speed for 100 requests.
Problem is that I wouldn't know how to implement it, as it would require parallel url requests to be called.
Any ideas?
When I execute a Rails unit test from the command line (as suggested here) such as
ruby unit/test_model.rb
...I get this error:
No such file or directory - .../test/config/database.yml (Errno::ENOENT)
Am I doing something wrong? Or is there a workaround?
The Zend Tutorial lists many assertions to check the output generated by a request.
http://framework.zend.com/manual/en/zend.test.phpunit.html
But they all seem to assume that the output is html. I need to test json output instead.
Are there any assertions helpful to check json, or is there at least a generic way to make assertions against the output? Anything that doesn't rely on the request outputting html?
I have a private method in my controller. which is used for some database update. this method i am calling from another controller method. and it works fine.
But when i am trying to write a test case for that method then It is tripping on accessing (session variable and params) in my functional all other methods are working fine the problem is only with private method?
In my setup method in functional test, I am setting session also.?
Currently in my tests I do something like this to test if an email is queued to be sent
assert_difference('ActionMailer::Base.deliveries.size', 1) do
get :create_from_spreedly, {:user_id => @logged_in_user.id}
end
but if i a controller action can send two different emails i.e. one to the user if sign up goes fine or a notification to admin if something went wrong - how can i test which one actually got sent. The code above would pass regardless.
I have a private method in my controller. which is used for some database update. this method i am calling from another controller method. and it works fine.
But when i am trying to write a test case for that method then It is tripping on accessing (session variable and params) in my functional all other methods are working fine the problem is only with private method?
In my setup method in functional test, I am setting session also.?
i.e. as I compose my test suites to include other suites as well as test cases,
is there a global count of how many tests the TestRunner has executed, will be executing?
Any way I can progammatically access that count?