HTML Runner?

1 view
Skip to first unread message

Sean Corfield

unread,
Mar 4, 2008, 12:55:47 AM3/4/08
to mxunit
As a new user - new to MXUnit, long-time cfcUnit user - I couldn't
find a way to run test cases via a browser that allows me to run tests
that are outside the webroot.

With cfcUnit, you hit http://localhost/cfcunit/ and then enter the
dotted-path of the CFC you want to "run". I keep all of my tests
outside the webroot. How can I run them with MXUnit via a browser?

I know I can run them via the Eclipse plugin (which is certainly very
nice) but I miss the ability to just enter a CFC path into a web form
and run the tests.

Hopefully I'm just missing something?

Sean

billy

unread,
Mar 4, 2008, 9:19:47 AM3/4/08
to mxunit
Hi Sean,

Unfortunately, you are not mistaken. As it stands now, the MXUnit
"framework" cannot run tests directly that do not exist outside the
webroot. But as you mentioned, this is possible using the Eclipse Plug-
in. With that said, I see this as an easy enough feature to be able to
add in the next release. I really like the idea of being able to call
a URL and it will run any TestCase regardless of location, and this
also helps developers who do not use Eclipse.

I've opened up a feature ticket and I'm sure we can bang this one out.
It may look slightly different, maybe something like:
http://localhost:8500/mxunit/runner/path.to.my.test or something ...

I appreciate your input!

bill

On Mar 4, 12:55 am, Sean Corfield <seancorfi...@gmail.com> wrote:
> As a new user - new to MXUnit, long-time cfcUnit user - I couldn't
> find a way to run test cases via a browser that allows me to run tests
> that are outside the webroot.
>
> With cfcUnit, you hithttp://localhost/cfcunit/and then enter the

Marc Esher

unread,
Mar 4, 2008, 9:23:54 AM3/4/08
to mxu...@googlegroups.com
bill,

Shame the component explorer is such a pig, because it'd be nice to
add a little autosuggest into the runner.

the reason i say that is i remember the one time i used cfcunit, i
didn't like having to keep typing full test names out. i didn't like
this about the junit swing runner either, though. i guess i'm lazy.

marc

Sean Corfield

unread,
Mar 4, 2008, 12:34:21 PM3/4/08
to mxu...@googlegroups.com
On Tue, Mar 4, 2008 at 6:19 AM, billy <vir...@gmail.com> wrote:
> Unfortunately, you are not mistaken. As it stands now, the MXUnit
> "framework" cannot run tests directly that do not exist outside the
> webroot.

OK.

Even just the ability to enter a test case name (dotted path to CFC)
or a directory path (for the directory runner) would be nice.

I look forward to your answer to my other post about test suites :)
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

Reply all
Reply to author
Forward
0 new messages