We are using the Tibco pagebus framework as a middle wa开发者_运维百科re for message publishing/subscribing.
Enterprise application we are developing is using the above framework.
Can you please suggest me how to test the Tibco pagebus framework.(framework testing)
Anyone having idea on this framework and how to test this framework.
Awaiting for the response.
thanks in advance
Regards, Malju
Yes, The Open Ajax Hub is a version of the TIBCO pagebus. TIBCO contributed the code to Open Ajax Alliance. It also comes with a full set of Unit tests based on JsUnit.
The main difference is that TIBCO uses "." as the subject separator so "europe.england.sport.football" would be a sub-set of "europe.england.sport" and so on.
Open Ajax hub I believe does not specify a separator, but allows the user to specify one. This is due to a disagreement by DojoToolkit who wanted to use "/" as the subject separator and not "."
TIBCO Pagebus is a JavaScript framework providing messaging functionality with the Browser, so your best bet is to pick one of the JavaScript Unit testing tools. This topic is covered in another Stack Overflow question at JavaScript unit test tools for TDD
The Dojo Objective Harness appears to be the preferred option, but a there are a whole heap listed.
http://dojotoolkit.org/reference-guide/util/doh.html#id1
精彩评论