testing

Git workflow with a testing server

Hi, I'm using git for my workflow and I have a remote testing server. What would be the best way to do this. Currently I make my changes on my workstation and I commit changes and then push to server. But this would quickly lead to many small commits. I want to avoid setting up testing server on my workstation. And rebasing commits is...

Using the Fitnesse Test Automation tool to test letters generated with StyleVision

We use Fitnesse sucessfully to test the majority of our companies application. However we have to test the letters we generate using StyleVision manually. I was wondering if anyone has an automated approach to testing letters generated using Stylevision. It does not have to be with Fitnesse but it would be great if it was. Any help woul...

Test cases for each link in a Website?

Hi guys, I have a pretty basic question about test cases in the world of Website development. Does it make sense to have a separate test case for each hyperlink for all pages in a site? For e.g. my site might have 10 pages, each with approx. 10 hyperlinks in it. Should I have 100 test cases each explaining where that link should redirect...

How Much Should Each Unit Test Test?

How much should each of my unit tests examine? For instance I have this test [TestMethod] public void IndexReturnsAView() { IActivityRepository repository = GetPopulatedRepository(); ActivityController activityController = GetActivityController(repository); ActionResult result = activityController.Index(); Assert.IsInst...

can i accept inputs from an excel sheet using watin

HI I'm testing a web application using watin. I need to pass multiple inputs to the application for doing this each time i need to change inputs in the code. So is it possible in watin to accept inputs from excel file. ...

VSTS Bug Count Per User Story

We am looking to get a list of bugs per user story in TFS so we can identify the areas that caused the most pain. Anyone have any ideas of the best way to go about this? Thanks in advance, B ...

Cucumber + selenium fails randomly.

My selenium tests like to fails randomly. As an example I have this scenario Scenario: I should be able to edit a user Given I created a user with the login "[email protected]" And I am viewing the user with login "[email protected]" Then I should see "Edit this user" When I click "Edit this user" Then I should be editing the us...

Read/Write Locks

As part of a project at work, I implemented a Read/Write lock class in C++. Before pushing my code to production, what sort of tests should I run on my class to be sure it will function correctly. I've obviously performed some sanity tests on my class (making sure only one writer can access at a time, making sure releases and claims ...

C#: Exact time measurement for performance testing

What is the most exact way of seeing how long something, for example a method call, took in code? The easiest and quickest I would guess is this: DateTime start = DateTime.Now; { // Do some work } TimeSpan timeItTook = DateTime.Now - start; But how exact is this? Are there better ways? ...

Any experience with groovy as core testing language?

Hey guys, I think I am not the only one who is gonna ask this question next time. After some experience with RoR I am impressed with the power of dynamic languages. Lots of projects are still forced for different reasons to use a java technology stack though. Since testing is an important part of any project I would like to hear your e...

Is there a tool for automated user interface testing java mobile apps?

I'm looking for some sort of framework to automate user interface testing of a java mobile app. We're developing in netbeans ide for the most part, and I've found various articles related to unit testing, but what I'm really looking for is some way to simulate a user clicking through the various menus and dialogs. Does such a thing exis...

What replaces regexp for XML response assertions in SOAP UI?

My team has switched from J-meter to SoapUI for testing purposes.We are testing regular WSDL-based services. We used this nifty feature in J-meter where you could write assertions in the form of regular expressions to check the XML responses. For example if I wanted to make sure there were so many xml tags contained in the response you c...

Spring Transaction Management Test

I want to test my Dao Class using the SpringContextTests. In my method class I extended the AbstractTransactionalJUnit4SpringContextTests in order for my test class to integrate with JUnit4. I have also set up the configurations and made the initialization and database clean up in the @Before and tearDown in the @After. My test class wor...

Trouble getting unit testing of RPC on GWT

I am trying to get RPC testing using GWT. I am using the default StockWatcher project that is mentioned here, I download the project, I import it, everything works fine. I then run junitcreator in the StockWatcher project: /Users/stephen/Work/gwt/gwt-mac-1.6.4/junitCreator -junit /Users/stephen/Applications/eclipse/plugins/org.junit_...

Example of testing a RPC call using GWT-TestCase with GAE

How is that for a lot of acronyms! I am having trouble testing GWT's RPC mechanism using GWT's GWTTestCase. I created a class for testing using the junitCreator tool included with GWT. I am attempting to test using the built in Google App Engine using the created "hosted mode" testing profile created by junitCreator. When I run the test...

Any best Bug-Tracking tool?

Possible Duplicates: What bug tracking software do you use? Free/Cheap Task/Bug Management software I am working as a Jr. Software Tester (Manual testing) in a firm. Here, we dont have a bug-tracker to report the errors in the application. So, I need a tool preferably open-source for bug-tracing. It should be a best one. ...

How to test asp.net server controls

We have developed a number of ASP.Net server controls and we need to test them. I want to instantiate a control, set some properties, call CreateChildControls and test the control-hierarchy. I run into a number of problems: The controls rely on HttpContext CreateChildControls is private Even adding a single child control to the cont...

Main test environment - should it be the common OS or the future OS?

My company is about to purchase an automated testing tool. We are not a big company, and can only afford a single license for the tool. We have an internal dispute whether the tested OS should be the one most commonly used by our clients (XP) or the next generation OS (Windows 7). All possible OS are going to be tested anyway, but in a m...

How do I know if I can be a good software tester?

I am a developer looking for a QA role. I know that the mindset of a developer and a tester differ fundamentally. Besides hands-on experience in a QA environment, are there any other ways to determine if I have what it takes to become a skilled tester? ...

How to avoid duplicating test code

I have written my units tests, and where external resources are needed it is dealt with by using fakes. All is good so far. Now i' am faced with the other test phases, mainly integration where i want to repeat the unit test methods against real external resources e.g The Database. So, What are the recommendations for structuring tes...