testing

How to create big datasets for test purposes?

Hi, I need to test some charting classes. For these I want to create a big dataset of 1-2 million data! How can I create such big datasets? thanks ...

Is it worth trying to write tests for the most tightly coupled site in the world?

Imagine that 90% of your job is merely to triage issues on a very massive, very broken website. Imagine that this website is written in the most tightly coupled, least cohesive PHP code you've ever seen, the type of code that would add the original developers to your "slap on sight" list. Imagine that this web application is made up of 4...

Google Test Fixtures

I'm trying to understand how the Google Test Fixtures work. Say I have the following code: class PhraseTest : public ::testing::Test { protected: virtual void SetUp() { phraseClass * myPhrase1 = new createPhrase("1234567890"); phraseClass * myPhrase2 = new createPhrase("1234567890"); } ...

default.properties not being created

I am using InteliJ Idea Community edition to develop android apps. I was trying to write UnitTests for a HelloWorld App as described in link text . However I keep on getting an error Found main project package: com.example.helloandroid Found main project activity: .HelloAndroid Error: Unable to load the main project's default.propertie...

How test(junit) input keyboard in Java.

Hi Everyone, i need make a test unit for a input keyboard in Java, Exists any way easy to do it? Thanks. ...

Implement an Indirect Connectivity Test for Java Graph class

I'm writing a class in Java to represent a Graph data structure. This is specific to an undirected, unweighted graph and it's purpose is mainly for edge testing (is node A connected to node B, either directly or indirectly). I need help implementing the indirectEdgeTest method. In the code below, I've only commented this method and I'...

Emma test suite coverage

I'm trying to test my own tests suite's coverage on an api I am working with. To do that I have a staging server that is running everything and I want to instrument the specific api classes in a jar file and then run my tests and get a coverage report. What I did was explode the jar run the code to instrument the classes then I put it ...

How to test code easily?

Hi guys, I'm learning Java by reading "Head First Java" and by doing all the puzzles and excercies. In the book they recommend to write TestDrive classes to test the code and clases I've written, that's one really simple thing to do, but by doing this I think I can't fully test my code because I'm writing the test code knowing what I wan...

We need to test a mixed windows-Linux environment. Is there a automation tool that supports both?

We are trying to automate an aplication that lives in a mixed windows-linux environment. We need a test automation tool that supports both environments. Any recommendations? We are evaluating SeeTest (www.experitest.com) that claims to be capable of supporting both Linux and Windows . Does anyone have any experience using it for such...

microsoft stress tool hardware requirements

Hi, Recently i have downloaded Microsoft stress tool - is this stress tool supporting xp operating system or it's need only server edition(like-windows 2000 etc...) Please help me Thanks in advance. Veerendra ...

Measuring page performance with Fiddler2 with Ie6 loaded from Spoon.net

Hi, As per title i am trying to measure page performance in IE6 that has been loaded with Spoon.net. Am trying to use Fiddler2 but it does not seem to recognise the browser. Any ideas? ...

Any good command-line tools (for a build server) for validating websites?

My team creates a number of dynamic/data-driven websites. We use a CruiseControl.NET to download the code, create test data, run unit tests, and install each site into IIS for manual testing. However we haven't found a good tool (or tools) that can actually run through some simple tests of the websites, such as checking for broken links ...

Testing with Spring - Avoiding false positives?

In the spring documentation regarding testing, it states: Avoid false positives when testing ORM code When you test code involving an ORM framework such as JPA or Hibernate, flush the underlying session within test methods which update the state of the session. Failing to flush the ORM framework's underlying sessi...

Can Selenium verify text inside a PDF loaded by the browser?

My web application loads a pdf in the browser. I have figured out how to check that the pdf has loaded correctly using: verifyAttribute xpath=//embed/@src {URL of PDF goes here} It would be really nice to be able to check the contents of the pdf with Selenium - for example verify that some text is present. Is there any way to do this?...

what is operating system requirement for microsoft stress tools

Hi, what is operating system requirement and hardware requirement for microsoft stress tools ...

Minimum operating system requirement for microsoft stress tools ?

Possible Duplicate: what is operating system requirement for microsoft stress tools Hi Please help me i need the minmum operating system requirement for microsoft stress tools ...

Best practice of J2EE component / integration testing

Hi, we are about to implement an enterprise application with several components. I am working on a component which exists of: Component A - sending to JMS queue Component B - periodically called, receiving from JMS queue and sending to another JMS queue Component C - MessageDrivenBean sending the data to another component. Additionall...

Code Generator for wrapper classes

Hi guys, Do you know of a tool that generates wrapper class based on another class? EDIT: By wrapper class I mean a class which wraps all exposed(public, protected) properties methods events so that you can put any logic in the middle. My concrete purpose is use it to verify the behavior of the wrapped class. ...

Access the "request" variable on Rails controller tests

I have the following code require 'test_helper' class ApplicationControllerTest < ActionController::TestCase test "should display the page in german" do get :index assert_response :success # ... request.env["HTTP_REFERER"] = :index # ... end end If I run this rails functional test with $ rake test:functionals...

is it possible to send JUnit test report by email?

Hello, with ant it is possible to run JUnit tests and generate test reports in several formats: text, HTML, XML .. and it is recurrent to send test results by email to the responsible, so my question: is it possible to use the xml file generated by Junit in order to send a summary(Html) of the test execution? or is there another better s...