I agree that they _should_ be separated, but it appears that there
would need to be significant refactoring to get a clean separation of
the web app from the core. The organization of Federation would need
to be tackled. Also the caching crosses the boundaries as
IWikiApplication requires references to the core.

While I could create a separate test project it still needs all the
same references as the current UnitTests project in order for
MockWikiApplication to compile. This seems to defeat the value of the
separation in that source code changes may now affect 2 sets of unit
tests rather than a single set.

I will keep the tests for FlexWikiApplicationConfiguration and
FederationConfiguration in separate test fixtures. This should retain
the value if it is ever possible to properly separate them.

Hopefully the gui portion of unit testing will be separable when we
add those tests.

John Davidson

On 8/25/07, Craig Andera <[EMAIL PROTECTED]> wrote:
> > If this is the correct way to proceed I will complete the changes I am
> > making to the Attachment Icon stuff and add more configuration tests
> > by end of day tomorrow.
>
> I don't think I would say this isn't the "correct" way to proceed, but to me
> there's something slightly aesthetically discordant about this. It seems to
> me that if the core really is independent of the web app, then the unit
> tests for the web app ought to be independent of the unit tests for the
> core. So I'd rather see a FlexWiki.Web.UnitTests project with its own set of
> tests.
>
> Of course, I think I must be insane to make *any* objections to a proposal
> to add *more* tests to FlexWiki. :) In my opinion, the fact that you've
> taken the time to do this means you have the moral authority to implement it
> as you see fit!
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Flexwiki-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/flexwiki-users
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Flexwiki-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flexwiki-users

Reply via email to