i, I have to run about a 100 tests on my program and doing it one-by-one is killing my time bad so I am looking to write a script.
I write an individual test like so
./program test_1 > out_1
and then compare it to the output that I am looking for like so
diff -urpb expected_out_1 out_1 > diff_1
Can somebodyhelp me to write a short P...
Why isn't the test in strict alternation for the first entrance for process 0 while ( turn == 0) //then enter
How can process 0 enter while (turn != 0), is'nt this the same as while (turn == 1) ?
turn = 0;
//process 0 to enter
while (TRUE) {
while (turn != 0)
critical_region();
turn = 1;
noncritical_region();
}
//process 1 t...
I'm in the process of researching testing options for .Net development particularly ASP.Net.
What testing tools do you swear by? NUnit, Selenium, RhinoMocks are my current apps in my toolbox but what do others have to offer for a more complete testing coverage?
No budget
...
I want a free tool for verification all table data between 2 mysql databases ?
is there any free tool available on Linux
...
Hi,
I have always been faking/mocking/stubbing HttpContext somehow in ASP.NET (much easier in ASP.NET MVC/MonoRail).
But I can see that HttpContext itself can be constructed easily, literally with couple of lines of code.
var tw = new StringWriter();
var workerReq = new SimpleWorkerRequest("/webapp", @"c:\here\there\wwwroot", "pag...
I've got a somewhat complex web application, containing Flash and javascript on the client side and PHP functionality server side. The PHP functionality contains system calls (exec()) to merge/edit/create files with gnu software (*nix environment) as well as api calls to REST services for uploading these files (this will be done with cro...
Is there a way to display the test results on the build results page returned by Build.aspx page? Because right now you only get to see the total number of tests and the number of failed and passed tests as in the sample:
Result details for Any CPU/Debug 0 errors, 90 warnings, 12 tests total, 4 tests passed, 8 tests failed
Errors and ...
When I look at the examples in the Assert class JavaDoc
assertThat("Help! Integers don't work", 0, is(1)); // fails:
// failure message:
// Help! Integers don't work
// expected: is <1>
// got value: <0>
assertThat("Zero is one", 0, is(not(1))) // passes
I dont see a big advantage over, let's say, assertEquals( 0, 1 ).
It's nice may...
Wondering if there was some sort of crawler we could use to test and re-test everything when changes are made to the web app so we know some new change didn't error out any existing pages. Or maybe a web browser with a million frames so I could scroll down and look through the tiles to find any error pages... you get the idea.
...
So I've got several projects in a solution. A couple of class librarys, a UI, and several testing projects.
There is a set of XML files that are used to store alot of configuration information that we need to init our app.
I want to have one place that is THE xml files and then copy that set of XML into the different projects when they...
I use cucumber to run integration tests.
I have a very large (30,000+ record) stardard setup for testing.
How can I leave that in the test.sqlite3 database without re-loading it ever?
...
I am using Selenium IDE to record some scenarios and wanted to check if a particular text is present on the page. I inserted a command "VerifyTextPresent". However, it always returns the result as true even when the particular text is not present.
What can be the probable reason? Do I need to modify anything?
...
Hi,
I am developing a windows mobile application in which I want to debug the application not on the simulator but on the phone directly
So is there any way to do this?
I am currently connecting the device to visual studio after syncing it and have added a custom certificate too. But when I start the debugging the debugging stops at "...
I am testing in selenium and I have a bunch of stuff that happens on page load. I found out about autoit, and I was thinking that it could handle all javascript dialog issues. I was searching around the web for some autoit script that could handle this...
Other options would be helpful as well!
I don't necessarily need all the code, b...
Just wondering what people are using for code coverage tools when using MS Visual Studio 2008 Pro. We are using the built-in MS test project and unit testing tool (the one that come pre-installed with MS VS 2008 pro)!
...
Basically the idea is to use the same hibernate mapping files for two different underlying databases. In production the underlying database is MySQL5 and for testing purposes I'd like to use Apache Derby - in order to avoid setting up and maintaining various MySQL databases for testing purposes.
I hoped that just switching the DataSour...
I have an iPhone web app I'm producing on a Linux machine. What's the best browser I can use to most closely mimic the feature-limited version of Safari present on the iPhone? (It's a "slimmed down" version of WebKit, which is more limited than one might think.)
...
In general how does one test a various parts of a GUI? What are good practices? (Yes I am being overly general here).
Let take for Notepad's Find dialog box:
What are some things that can be tested? How does one know its working correctly? What are edge cases to look out for? Stress tests?
...
I noticed that in Perl the custom is to stick all tests into the t directory. How do you separate the unit test from the functional ones? Or, to make the question simpler and more obvious, how do you separate the tests that run quickly from the ones that do not? When all the tests run together the testing takes too long to be routinely u...
I am using selenium-server , selenium rc for UI testing in my application . My dev box is Windows with FireFox 3.5 and every thing is running fine and cool. But when i try to run selenium tests on my build server which is a linux box , i get this error
Caution: '/usr/bin/firefox': file is a script file, not a real executable. The brows...