Hello,
I am a bit confused
from wiki:
"This means that a true mock... performing tests on the data passed into the method calls as arguments."
I never used unit testing or mock framework. I thought unit tests are for automated tests so what are mock tests for?
What I want is a object replacing my database I might use later but still ...
Hi All,
I found a tool for Instrumentation Testing called Robotium.It is easy and simple for black box testing of android applications.
We can use it as follows:
solo.clickOnText("Other");
solo.clickOnButton("Edit");
assertTrue(solo.searchText("Edit Window"));
solo.enterText(1, "Some text for testing purposes")
solo...
I am trying to test Google Maps in development sites under IIS. My local testing URL is http://sitename/. As there is no “.com” in the name, I cannot obtain an API key. I can obtain a key for http://localhost/, but I am wondering if there is a way to use the testing URL http://sitename/.
...
Is there a SSN that is roughly the equivalent of example.com - something that is widely (and officially) recognized as an example/test value only?
Clarification: As per my comment, what I'm really asking is if there's a canonical "test SSN" that is used by convention, so is understood by all who see it that it is not a real SSN.
...
I have windows XP set up on a VM on my mac running only IE6. I used to use this: http://spoon.net/browsers/ to test on IE7 and 8 but it requires that I have .Net framework installed on my VM, which I'd rather not do. Any suggestions for the optimal setup for cross-browser testing with a VM on a mac?
...
Hello,
to test my program against webpages, which change quite often, I need to mock the answers. I've found FakeWeb for Ruby, which would be a good starting point. Unfortunately, there seems to be no library, which provides similar functionality for Java.
So, my question is: How can I "record" requests and response pairs and "replay" ...
When building desktop or web apps, its easy to add fake hosts file entries so apps will connect to dev servers instead of production ones - is something similar possible for Android apps?
...
I am currently working on a rather large project with a team distributed across the United States. Developers regular commit code to the source repository. We have the following application builds (all are managed by an application, no manual processes):
Continuous Integration: a monitor checks to see if the code repository has been ...
In general I want to disable as little code as possible, and I want it to be explicit: I don't want the code being tested to decide whether it's a test or not, I want the test to tell that code "hey, BTW, I'm running a unit test, can you please not make your call to solr, instead can you please stick what you would send to solr in this s...
I am looking for a way to automate couple of browsers... Firefox and Chrome (for now on just Windows) from an external application/process.
Is there a way to do things along these lines:
1. Start the browser with a URL
2. Have the browser load up the page, run script etc.
3. Inspect the DOM
For reference, IE can be automated using the ...
I have a need to test an app (.Net) on a Taiwanese version of Windows.
Problems:
I can't read or speak Taiwanese
I don't know if it would be the same
if I installed a version of Windows
from MSDN on my computer and said I'm
from Taiwan
Does anyone have any experience with this? How would I go about setting up an appropriate environ...
Basically I have two main questions:
What exactly should you unit test?
How do you do it?
The problem is I have several applications that rely in a database connection and/or are communication applications, which mean most of the test cases are integration tests (or so I think).
Most classes are fairly simple by themselves, but the ...
How can I break into a running test with the pdb interactive debugger?
This is the test:
class UserTestCase(TestCase):
def test_register_should_create_UserProfile(self):
c = Client()
response = c.post('/account/register/', {u'username': [u'john'], u'email': [u'[email protected]'], u'bnewaccount': [u'Signup']})
self.assert...
I want to run EJB3Unit-Test in my oracle 10g Database. Therefore I use this configuration (ejb3unit.properties).
### The ejb3unit configuration file ###
ejb3unit.inMemoryTest=false
ejb3unit.connection.url=jdbc:oracle:thin:....:1432:SID
ejb3unit.connection.driver_class=oracle.jdbc.OracleDriver
ejb3unit.connection.username=user
ejb3unit.c...
I have an embedded system running on a Linux platform.
What we want to do now is to test all applications running on a minimal Linux distro in a vmware environment.
I try to find a very small footprint distribution which can be ran in VMWare.
The requirements are really only to have the Linux distro without pretty much any servers since...
How can I launch a Java test suite using Perl?
...
Does anyone have recommendations for testing data quality. Imagine you have staged data in one format and executed a process to transfer it to a more relationship normalized format in another database. I would like to create a bunch of tests that could be executed to verify data quality. Does anyone have recommendations as far as tool...
I am testing my iPhone app with some people who install it through iTunes together with the mobile provision file that I give them. Apple has good instructions for how to get crash logs from these people, but is it also possible to get console logs from their devices? I do not have physical access to these people, otherwise I could conne...
Hi all,
We have built a custom provider for the microsoft sync framework, how would you go about unit testing it or would you not bother with the unit testing and focus on integration tests?
Cheers alex
...
In the old (single-threaded) days we instructed our testing team to always report the CPU time and not the real-time of an application. That way, if they said that in version 1 an action took 5 CPU seconds, and in version 2 it took 10 CPU seconds, that we had a problem.
Now, with more and more multi-threading, this doesn't seem to make...