I use JUnit 3.x TestRunner that intantiates all tests at once before running them.
Is there a Test Runner available that would create each test (or at least each test suite's tests) just before running them?
I can use JUnit 4.x runners but my tests are 3.x tests.
...
What is the best text-block to use to test out programming fonts and syntax highlighting?
...
Hello,
I am currently evaluating the White testing framework. Pretty amazing stuff!
Everything looks pretty promising, but I have run into a small wall.
How can I test a .NET 2.0 PictureBox?
There is no predefinied UIItem for that. Though there is the Image class, but how would I use it in combination with my PictureBox?
I also tried ...
Hi,
There used to be a HOSTS file on S60 3rd edition devices (see here). It was a great feature for QA.
Anyone knows if there's such a file on S60 5th edition devices?
Is there another way to tell the phone to go to a specific IP, given a host name?
Many thanks,
Ori
...
We've written a .NET wrapper API for a set of web services. All this does is make requests and return JSON data. What's a good way to build a test framework for this? I can't think of how to do unit tests since I'd have to know the expected JSON string I'm getting back and that's very dynamic and complex. I thought of doing a WebTest but...
A two-parter with a quick intro. Intro: I'm coming to Ruby from Perl, and I'm a bit lost among the test framework choices. I understand that there is probably no single, all-around best choice, but I can't even get a clear picture of the playing field.
So, first, MiniTest or Test::Unit? I just realized that 1.9.1 defaults to MiniTest no...
I am creating a non-blocking IO system for the server side of my project. The actual implementation isn't important (it is Java NIO if you care), but I feel very intimidated by the subtle issues you have to pay close attention to when programming socket communications. My knowledge is lacking in a lot of areas, so I can't even conceive...
So I have a set of unit/integration tests and a set of selenium rc tests as part of my suite. When I run them together using PHPUnit I get a Segmentation fault error message at the very end of the run when, during normal operation, it starts to generate log files. The interesting part is, if I run just the unit tests, or just the seleniu...
Hi All,
I am now working in embedded testing domain(avionics) and i would like to shift over my carreer to something like developement which is mainly like Protocol stack development. So what i need to know is some kind of real time projects (Networking or protocol development) which i could put into my resume so that the recruiter can ...
How can I say which class of many (which all do the same job) execute faster? is there a software to measure that?
...
I have a function (FunctionA) that is being called by another function (FunctionB). The problem is, I'm not sure which function "FunctionB" is.
I have this snippet of code:
function FunctionA():void {
trace("This function was called by " + ???);
}
I need to figure out what to put for "???" so FunctionA's trace statement looks like ...
I'm trying to provide integration to my django application from subversion through the post commit hook.
I have a django test case (a subclass of unittest.TestCase) that (a) inserts a couple of records into a table, (b) spawns an svn commit, (c) svn commit runs a hook that uses my django model to look up info.
I'm using an sqlite3 db. ...
I'm using the following technique to set a wild-card cookie for our domain:
cookies['root_domain_flash_warning'] = {
'value' => 'mistakes have been made!',
'domain' => ".#{APP_DOMAIN}",
'expires' => 2.minutes.from_now
}
Which seems to work handily. Unfortunately I can't seem to look up anything but the value associated with the...
I'm looking for a way to process a web page and associated Javascript from the command-line, so that the resulting DOM model can be outputted.
The purpose for this is to identify forms within the page without doing any nasty HTML (and Javascript) parsing with regular expressions.
Are there any command-line tools that will do this? So ...
I have the following tests setup.
[TestClass,
Isolated]
public class TestClass
{
public TestClass()
{
}
private TestContext testContextInstance;
public TestContext TestContext
{
get { return testContextInstance; }
set { testContextInstance = value; }
}
[ClassInitialize,
Isolated]
...
Lets says I'm replacing an over complicated method with a much simpler implementation that I believe does the same thing.
Would it make sense for me to copy the old code into a class with my unit tests so I can assert the result of both is the same?
Thanks
...
Lets just say I want to test the security of a server (http://www.testserver.com) for directory scanning/reading vulnerabilities.
I would normally try to search for a file say /etc/passwd (or something more interesting:)) by doing something like http://www.testserver.com/../../../../etc/passwd and see if it throws up anything.
Now thi...
Hi EveryOne,
I am looking for any tool or approach using which I can do UI unit test for iPhone application, I am aware of SenTestCase framework however which is used to do that testing for code I am looking for UI unit testing.
Any suggestion will be great help to me.
Thanks in advance.
Regards,
Satish.
...
Hi,
I know there are two main unit-testing frameworks in PHP :
PHPUnit
SimpleTest
I am using PHPUnit, and was searching for PHP (Open source would be great ; but I'm also interested in non-OSS ones, if they are big / well-know / from big companies) projects, be it applications, libraries, frameworks, ... that would use PHPUnit as U...
I have to maintain code from a contractor. It has this "interesting" snippet:
String webServicesValue =
webResponse.substring(webResponse.indexOf("<" + fieldName + ">") +
fieldName.length() + 2,
webResponse.indexOf("</" + fieldName + ">"));
It took me a few minutes to understand wh...