couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowalski <>
Subject [GitHub] couchdb pull request: COUCHDB-2158 Fauxton: Implement a filter for...
Date Thu, 29 May 2014 18:45:42 GMT
Github user robertkowalski commented on the pull request:
    Here are my problems I had with the RouteObject and testing:
    The event delegation and EventBus is coupled to the RouteObject. Instead testing of a
ViewComponent and a View which are talking to each other I have to initialize the RouteObject
(and probably stub away methods), so the Components are not testable as standalone views any
more but are coupled to another dependency, the RouteObject.
    Additionally the FauxtonAPI-Eventbus (`triggerRouteEvent `) is not initialized when just
requiring it, there is some magic missing. Therefore I had to stub it away in the tests:

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message