as of right now i'm working at place where's there's a lot of legacy codes and pretty much no useful documentation.
and most of the time we just treat business requirements as whatever that is already implemented previously.
i'm looking for any tools or useful method to keep all the requirements for future use and for regression testin...
I'm learning VS Unit test and tried this:
[TestMethod()]
public void calcTest()
{
double expected = 1.234F; // TODO: Initialize to an appropriate value
double actual;
actual = 1.234F;
Assert.AreEqual(expected, actual);
Assert.Inconclusive("Verify the correctness of this test method.");...
Hey guys&dolls
Ok..
I hope i can get this across without sounding like an idiot.
Using Eclipse, when debugging is it possible to change the value of variables during runtime of a project for testing purposes.
For example, say I have a method that returns the number 5 but for testing purposes i want to output 10 instead. This isnt the...
I want to write testcases for my android application using JUnit.
And I faced some problems.
Is it possible to check that activity displays some dialog at current moment?
Here is a small piece of my test application:
...
Instrumentation instr = getInstrumentation();
monitor = instr.addMonitor(MainActivity.class.getName(), n...
a bug is:
error;
failure;
defect;
fault;
...
Hi guys!
Are there any ways to test for expected exceptions on an EJB3 session bean method. When I invoke the method the container (glassfish) correctly outputs that an IllegalArgumentException has been thrown, but on the client I am not able to catch any exception arising from that method invocation. Could it be that exceptions at this...
I'm testing IE7, IE8, Safari, Chrome and Firefox.
It would be pretty less boring if you guys told me that I don't need to test for XP, Vista and 7, since there's no difference.
Thanks
...
I thought I was an experienced Maven user, but I am having a mental block on how to do this!
I've been able to use the Maven sql plugin to drop, create, and install a schema in a database via plugin executions I've defined and bound to the pre-integration-test phase.
However, now I'd like to use that same sql plugin to insert some samp...
In case of things that are hard to test using traditional xUnit-style methods, such as various converters, XSLT, etc. I often employ technique based on output comparison. The test program produces some output when it's run for the first time. I make sure it's correct and save it for the later use. On the following runs the program compar...
What's the best Firefox extension for auto-populating forms while testing?
Preferably one which allows you to not collect data from certain sites ... I only want to use it while testing.
...
I'm using Visual Studio to record some web tests. I'd like the test to pass (obviously), but it is failing because of something out of our control - so I'd like to surpress that failure.
One of our pages is using an API from a third party like say, let's pick on, facebook. (It's not facebook, but for sake of argument it is). Let's say ...
Can anybody explain what fault masking is, and and what its consequences are?
...
As performance testing is regarded as black box type so why it required development skills?
...
Using intellij and maven pom files, how do i debug tests run inside the maven test goal?
When i run them directly in the code, it complains something about profiles missing, which i've ticked inside intellij's Maven Projects.
...
This fabulous answer suggests there’s no way to run multiple versions of Google Chrome on one machine.
Every now and then you’ll get a website user stuck on an old version of Chrome (no idea how, but it happens — maybe they installed the standalone version?) with an issue, and you need to be able to verify it. Bit difficult to do that w...
Hi,
How do u decide on a test statistic while developing a test for random number testing and its likely distribution. How do u calculate and decide on the formula for calculating a p value for the test statistics distribution.
TIA
...
I'm looking for some style advice for testing this piece of (Objective-)C++ code, I bracketed the Objective part, as I don't think it should have any bearing on this test.
class Probe
{
public:
bool playing();
}
bool Probe::playing()
{
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
iTunesApplication *iTunes = [S...
The title pretty much says it all.
Im looking for som testing programs for a firebird db server, to stress-test and find bottlenecks.
Something like DB-Optimizer, only for firebird would be nice.
Can also be separate programs, one for stress-testing and one for profiling.
...
From http://github.com/diaspora/diaspora/blob/master/spec/models/profile_spec.rb
describe Profile do
before do
@person = Factory.build(:person)
end
describe 'requirements' do
it "should include a first name" do
@person.profile = Factory.build(:profile,:first_name => nil)
@person.profile.valid?.should be false
...
It seems to me that some code is easier to unit test than others. I love writing unit tests for highly functional code (by this, I'm referring to functions that primarily operate on their arguments and return computed results).
But, when the code is much more about it's side effects, testing it becomes much harder. For example, a socket...