Hello guy,
I'm searching the John Tukey algorithm which compute a "resistant line" or "median-median line" on my linear regression with R.
A student on a mailling list explain this algorithm in these terms :
"The way it's calculated is to divide
the data into three groups, find the
x-median and y-median values (called
the s...
I've read that I should be writing the simple, basic tests first and gradually moving up to the harder ones. What tests (in order) should I be writing for the following function?
function List.syncWithList(lst)
should add any items to the list that are not in the list but are in lst
should delete any items in the list that are not in ...
I have a class that converts images and videos to other formats. A number of options are available such as size, scaling mode, background color, etc (think ImageMagick's convert command). Any ideas for how to test it? The code to exercise all of the options isn't that hard to write, but I'm unsure about how to confirm the results are val...
Each time I want to test the DotNetNuke module I'm working on, I uninstall it from the DNN website host control panel, I zip my module dev folder, and then I reinstall it from the DNN website.
Is there any faster way to test my module?
...
I'm trying to write some tests with PHPUnit for our various classes/methods/functions. Some of these require database connectivity. Obviously, I'd like to Mock these, so that I don't change our database(s).
Can someone point me to some code that explains how to do this? I see lots of examples of Mocking, but nothing specifically abou...
I am trying to validate that my form fields all have an associated label using Selenium, but I am having problems grabbing all of the form fields on a page. get_all_fields only gets textfields; I have no way to also grab the passwords, radios, checkboxes, etc.
I was trying something like this:
num_fields = Integer(selenium.get_xpath_c...
How will you test a calculator? Any thoughts?
thanks,
===
Sorry that I did not elaborate this question much at the beginning. Now, I want to give more backgrounds about this. This question was asked during a technical interview for a programmer position. So I suppose they were looking for some really "smart" answers or some good approa...
Anybody know any existing 'open' Web Applications with Source and Data that are used for Benchmarking (e.g. Shopping site with kart).
Somebody is looking for something 'standard' that can be used as the subject of a performance tuning exercise.
e.g. - as it stood, the XXXX application managed 2000 req/sec on Kit Y running in NetFx 2 an...
I've got some instrumentation test cases for my andoid app and running them from eclipse or adb works fine.
What I'd really like to do though is load them onto the handset and trigger the tests later, when it's not tethered to the USB cable.
Does anyone know how I could do this - or a reason why I couldn't?
...
I have a question about using Eclipse to write an additional JUnit test case for an existing Java application.
There's a folder called "pass" which contains all of the pass tests. I create a new pass test by right clicking on the folder and going to New -> File. However, when I create the JUnit test case, the new test doesn't show up a...
I am interested in automating some application / system level tests on an existing product range. Our product range consists of several distinct applications, written in .Net 3.5 and using WPF for the presentation layer.
Ultimately, I am interested in finding an application testing suite that is capable of executing scenarios and report...
When I try to run my test suite, which works fine under Visual Studio 2008, I get the following error in the Output window:
Error loading J:\VBProjects2010\Libraries\PFTest\PFTest\bin\Debug\PFTest.dll: Could not load file or assembly 'file:///J:\VBProjects2010\Libraries\PFTest\PFTest\bin\Debug\PFTest.dll' or one of its dependencies. Ope...
Is it posible to create a partial mock using mockito-flex?
...
I'm developing an HTML / Javascript application meant to run on an Android device running Froyo (2.2). Assuming I don't need multitouch functionality, will the emulator's browser be a reliable means of debugging HTML, CSS and Javascript? Or is it possible that I would work out all the bugs in the emulator but find the actual device handl...
I manage a small team of developers who up till recently have all been working on independent projects.
We have now all come together to work on one holistic project and its really tough. People are changing things, without consulting other programmers and its very difficult to manage.
We are also working in a pure production environme...
Possible Duplicate:
Comparison of c++ unit test frameworks
Hello guys, I'm coming from .net to C++ and I want to know if there i good articles/information about unit-testing in c++ and the most used/best frameworks for doing it.
Thanks in advance.
...
Hi there,
I'm developing a library, not an application, for Android and I would like to know how should I test it? I know that if you are developing an application you can instrument the test+application and make it work, but this is not my case. I'm using Maven. Is it possible integrate the test results to the Maven lifecycle?
The wor...
Selenium, php, phpUnit, 404 error calls testComplete() rather than continue, how do I stop this?
I am using selenium server and phpUnit to run php based tests. My tests are simple, test the page is there, if it loads, has no errors on page and then move on. I have a missing page and rather than say, yep its not there and more on I get:
...
I find the concept of 'integration testing' confusing. There seems to be quite a few explanations and scopes:
Functional/acceptance testing (e.g. testing the user interface with for example, Selenium)
Testing the integration of different classes/modules of software together (simply testing two or more classes together, without them doi...
In-container testing is often opposed to testing with mock objects. However, as mock objects simply mimic the behavior of the real objects, isn't the in-container testing the only way to really test the system in its' real environment?
As an partial alternative to in-container testing and mock objects, Spring provides the TestContext fr...