Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am currently doing a lot of regression testing at my job. And like I want to look at some of the best code in the world for regression testing (i.e. Open source). So basically list open source projects that you think show good examples of regression testing.
P.S True regression testing is black box by the way. However the examples so far are a good read for testing
Here is the documentation of KDE4's unit testing development:
http://techbase.kde.org/Development/Tutorials/Unittests
In this blog you can see that QtSoftware/Nokia has opened all the regression testing applications to the world: http://ariya.blogspot.com/2009/06/all-blessings-in-may.html
or direct link to the unit tests+benchmarks:
http://qt.gitorious.org/qt/qt/trees/master/tests/benchmarks
http://qt.gitorious.org/qt/qt/trees/master/tests/auto
This blog is linked from the previous one: http://benjamin-meyer.blogspot.com/2009/05/open-qt-repository-and-hidden-gems.html read it as well :)
Would you like to see where the WebKit regression tests are saved? Or you want to google for it?
jQuery does a lot of regression testing, because it's supporting quite a few browsers and a lot of intricate tests (in particular, supporting css). I'm not sure if it's the best example or not for general regression, but for web development, it's a great case because it handles a VERY difficult task, regression testing against many browsers which are constantly changing, even within versions. Though it is hard to come up with a more pure case where changes in the external world can cause your code to regress :(.
Resig talking about difficulties unit testing javascript.
Resig talking about Fireunit, a tool used in testing jQuery
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
How is STAF better than compared to Jenkins + plugins in CI, testing and deployment?
Jenkins is able to achieve automated testing and deployment using plugins, then in what situations should one use a framework like STAF?
Maybe I'm wrong, but these two are just two different things. While STAF is
multi-platform, multi-language framework designed around
the idea of reusable components, called services
the Jenkins is
extendable continuous integration server
I assume that you accept their concept to be leveraged to help solve common development problems, such as more frequent product cycles, less preparation time, reduced testing time, more platform choices, more programming language choices, and increased Language requirements.
I think that both can help in these areas since they are a proven and mature technologies, which promote automation and reuse. Also have broad platform and language support, and provides a common infrastructure across teams.
How you'll use them in order to achieve these goals - it's up to you. And why not combine them - JENKINS STAF+STAX Plugin
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I have been recently assigned as a tester on a web app that integrates with Microsoft Dynamix CRM.
There are a lot of repetitive testing tasks that could be automated to accelarate the testing effort.
I proposed this to my boss and said that I can start hacking together some watir scripts. However, he wants me to do more research (he is happy to invest the cash if there is something out there that can save us time - he is heavily attached to the idea of there being some kind of record and playback tool out there that cranks out robust scripts but I am not convinced).
This is my tool experience so far:
webdriver (Python)
watir-webdriver (just a dabble for an interview)
TestComplete (small suite of tests for a webapp in 2011)
QTP (in 2009)
Can someone please recommend some tools for me? I don't really know where to start.
It sounds like
Selenium / Webdriver is widely used, widely supported and a good price (free :) )
"Telerik TestStudio" is quite popular but seems like overkill for what I want to do
"QTP" is unreliable and overpriced.
"TestComplete" has some scattered support.
Since I'm already handy with Ruby, I am leaning towards running with the Watir option. Does this seem like a reasonable course?
I would suggest to go with the Open Source solutions: either Watir or Selenium. Both should work, then it depends on your liking. Personally I use Robot Framework with its selenium Library and it works very well and has quite a dynamic community.
Note that you should also consider if you can do part of your testing bellow the UI. You could probably do some tests on the API offered by Dynamix and used by your web app. That would be quicker and more robust.
I would recommend selenium-webdriver. As you said it's widely used, widely supported and good price (free). As you aleady know Ruby you can write tests on ruby using selenium-webdriver.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I'm starting to use Selenium for UI testing and was wondering if there were any open source projects with decent tests that I can use for learning about how to design the Selenium tests.
Any other resources about designing the UI tests would also be appreciated.
I've read the documentation on the Selenium website which is a good start but I'm hoping to find some info/examples of how to make sure your numerous tests are maintainable in the future.
Cheers,
Sam
GWT Mobile Web Toolkit appears to be using Selenium. I had read that jQuery was using it, but I can't see any evidence of them using it in there source code repository.
You may also find this answer helpful.
Update:
Google Caja has some tests that can be found here
A search on Google Code Search may also help track down examples of usage.
Looks like the guys over at Atlassian are using it for Jira and some of there other projects:
Part 1
Part 2
Part 3
part 3 has links to the projects that they have been working on.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I know Selenium IDE should be needed to record/playback a test. What are the other things in selenium i need, to automate test cases. I am not sure about anything other that recording and playing back. How does this selenium actually works. Do i need to code any programs like developing? or only recording the test will be enough? Share you knowledge about Selenium test.
Where can i get best tutorial for Selenium?
Do i need to code any programs like developing? or only recording the
test will be enough?
This largely depends on what you require your tests to do. If you only need to record a very straightforward set of tests, using the Selenium IDE and recording tests will probably be sufficient. If you are trying to make a robust and extensible test suite, with varied input and/or varied test conditions, you will probably need to do some development to fully tap into the power of Selenium.
The best resources that I know of are the official Selenium documentation, which is well-written and even comes with a bunch of pictures to help walk you through starting with Selenium. For more detailed or technical questions, I would refer to the Selenium google group, which is pretty active.
I recommend these high rating Selenium video tutorial (duration : 2.5 hours in 3 parts) :
http://www.youtube.com/watch?v=3BeK5aH2y3Q
http://www.youtube.com/watch?v=jWDGM4eZqVw
http://www.youtube.com/watch?v=7dC7eiDqytc
Although its title is Selenium + JUnit, but actually it is all about Selenium IDE
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
iMacros is a very nice tool which allows to authomatically fill HTML forms and extract content, includes cycles and many other features. The problem is that it is quite tricky to make it extracting content properly. For example, I have failed to extract all London-to-Tokio flight prices for all the dates between 1/10/08 to 1/12/08 to find a cheapest one from expedia. Sometimes it just crashes. Does anyone know any good alternative?
Bah, I installed it but never really used it: I am happy enough with Greasemonkey.
Chickenfoot can make it more edible...
Searching for URLs, I found also DéjàClick and Selenium IDE but I don't really know them.
There are lot of other tools for Web automation, most of them professional (read "payware"...).
Alternatively, for just data extraction, I would use cURL or wget and a good HTML parser...
I have heard good things about Selenium IDE also and my limited testing indicates it is pretty capable, and works in Firefox and IE.
For most any macro based testing tool, you will need to do some programming if you need to support multiple, repeatable test cases.
That said, in your example you mention running an Expedia macro... presumably to scrape results. You will want to make sure that you don't hammer Expedia's servers, and/or expect to be booted once they discover you are (effectively) a bot.
I agree imacros is quite unreliable. They crash quite easily if you using complex algorithm or running it continously. The trick is to close it and open it again after loops. It will decrease the number of crash you will find, though not completely.