background preloader

UnitTesting

Facebook Twitter

Watir

TelluriumJQueryFirebug - aost - Use Firebug and JQuery to Trace Problems in Tellurium Tests. - Project Hosting on Google Code. From time to time, a lot of Tellurium users run into problems for their Tellurium tests and asked our Tellurium developers for help.

TelluriumJQueryFirebug - aost - Use Firebug and JQuery to Trace Problems in Tellurium Tests. - Project Hosting on Google Code

The difficult thing is that our Tellurium developers do not have access to their their whole test code, let alone their applications. For most cases, we can only give some suggestions/hints on what the problems might be. As a result, a practical way to trace/debug Tellurium test code will benefit all our users. That is why I create this wiki page to share our experiences on how to debug Tellurium code with Firebug and jQuery. Tellurium test mainly consists of two parts, i.e., the Java/Groovy test code and JavaScript code in our customized Selenium server.

Firefox Profile Usually, you will see a lot of posts about using the following command to manage Firefox profiles Firefox -ProfileManager Unfortunately, this seems not working for Firefox 3.5. Firefox -ProfileManager -no-remote Once you get there, you can create a new Firefox profile. Firebug Support. Unit Test. Posted in Google App Engine, Python, Testing by kumar on Thursday Apr 17th, 2008 at 3:07p.m.

Unit Test

The Google App Engine SDK sets up a fairly restrictive Python environment on your local machine to simulate their runtime restrictions. Roughly this consists of no access to sockets and thus barely working httplib, urllib, etc (replaced by urlfetch.fetch()), inability to use Python C modules, and no access to the file system. The SDK lets you run your app very easily using the dev_appserver.py script but I thought, how the heck would I test my app without the dev server?

It turns out this was ridiculously easy. You just run about 10 lines of code at the start of your test suite. The setup() is called by nose at the beginning of all tests but if you weren't using nose you could put it at the module level or anywhere else to be called once. Next, you can test your URLs with something like WebTest like so: ...where application is any WSGI app, like one defined in the Hello World tutorial:

Unit-Testing XML. There are many occasions where software creates XML output. XML documents are used for data interchange between different applications, web application create (X)HTML output or respond to AJAX requests using little XML snippets. There are many use cases where XML is generated and the outputs have to be tested as much as any other part of the application. There are several approaches for testing the generated XML, and each of these approaches has its flaws when used in isolation. For example you can: validate the generated XML against a DTD, an XML Schema or any of the other grammar alternatives.

In addition the existing APIs for either task are often inconvenient. XMLUnit XMLUnit is an open source project licensed under the BSD license. There is a Java and a .NET version of XMLUnit, but the Java version is more mature and provides more features. XMLUnit was founded by Tim Bacon and Jeff Martin in 2001 and developed as a testing framework for their own projects. Validating XML " > XPath Tests. Untitled. Version: 2.4.9 | JUnit > DBUnit > Changes JUnit | DBUnit Quick Links Overview Developer Project Documentation Last Published: 30-Sep-2012 Changes Release History.

untitled

Kevin B Smith's WebLog : BizUnit 2.0 - Automated Testing for BizTalk Solutions. I've released BizUnit 2.0, in case you’ve not come across it before, BizUnit is a framework that I put together to enable the rapid development of automated functional testing for BizTalk solutions, the motivation was to provide a framework that would bring automated testing of BizTalk solutions to the masses!!

Kevin B Smith's WebLog : BizUnit 2.0 - Automated Testing for BizTalk Solutions

BizTalk solutions are often mission critical, an automated testing approach helps to drive quality before go-live and is essential post go-live to ensure that patches to not cause regressions. BizUnit is not restricted to testing BizTalk solutions, but it is targeted at them. BizUnit defines test cases as Xml documents, which, enables test cases to be rapidly written and also enables the same test cases to moved between different environments by fixing up the Url’s for the endpoints, for example the endpoint Url’s for a development environment will be different to a testing, and pre-production environments.

Test Case Format How does it Work?