Re: Unit Testing A Web Interface

2007-05-12 Thread Sean Corfield
On 5/11/07, Andrew Scott [EMAIL PROTECTED] wrote: I really wish there was more tips on CFCUnit and how to write tests, I keep poking Paul about it but now that I'm no longer his manager I don't have quite as much sway :) Sean, so going bug to my bug that I ticketed. Could you look at the

Re: Unit Testing A Web Interface

2007-05-12 Thread Andrew Scott
Thanks Sean, I was having a bad day that day... And for the life of me should have know that... Really I should.. Btw I also have designed a similar CFCUnitView, but didn't realise that CFEclipse was doing it either. My attempt was to more intergegrate into Ant, but I am not experienced enough

Re: Unit Testing A Web Interface

2007-05-12 Thread Sean Corfield
On 5/11/07, Andrew Scott [EMAIL PROTECTED] wrote: Thanks Sean, I was having a bad day that day... And for the life of me should have know that... Really I should.. NP. Btw I also have designed a similar CFCUnitView, but didn't realise that CFEclipse was doing it either. My attempt was to

Re: Unit Testing A Web Interface

2007-05-12 Thread Andrew Scott
Sean, No you missed the point. When I save the file, Ant runs but the output is not organised very well. So what I wanted to do, is intergrate the output into a view in Eclipse like Junit. So that I can see that after I saved the file and the test has run, what tests have failed, how many ran

Re: Unit Testing A Web Interface

2007-05-11 Thread Andrew Scott
Look for HTMLUnit and HTTPUnit. Also you might want to look for a product called selinium as well, but it all going to boil down to what or how much you want / need to test. There is also JSUnit for javascript as well On 5/12/07, Ben Nadel [EMAIL PROTECTED] wrote: Hey All, I have a new

RE: Unit Testing A Web Interface

2007-05-11 Thread Ben Nadel
Thanks, I will look into those right now. -Original Message- From: Andrew Scott [mailto:[EMAIL PROTECTED] Sent: Friday, May 11, 2007 11:15 AM To: CF-Talk Subject: Re: Unit Testing A Web Interface Look for HTMLUnit and HTTPUnit. Also you might want to look for a product called

RE: Unit Testing A Web Interface

2007-05-11 Thread Ben Nadel
That looks pretty cool. I like that it can integrate with FireFox. -Original Message- From: Kris Jones [mailto:[EMAIL PROTECTED] Sent: Friday, May 11, 2007 11:30 AM To: CF-Talk Subject: Re: Unit Testing A Web Interface Selenium? http://www.openqa.org/selenium-ide/ Cheers, Kris Hey

Re: Unit Testing A Web Interface

2007-05-11 Thread Kris Jones
Selenium? http://www.openqa.org/selenium-ide/ Cheers, Kris Hey All, I have a new manager for a current project and he wants to see me do unit tests for form interfaces for an existing web application. I have an idea of what a Unit Test is for code classes, but I have no idea how this is to

Re: Unit Testing A Web Interface

2007-05-11 Thread Andrew Scott
Jones [mailto:[EMAIL PROTECTED] Sent: Friday, May 11, 2007 11:30 AM To: CF-Talk Subject: Re: Unit Testing A Web Interface Selenium? http://www.openqa.org/selenium-ide/ Cheers, Kris Hey All, I have a new manager for a current project and he wants to see me do unit tests for form interfaces

Re: Unit Testing A Web Interface

2007-05-11 Thread Mark Mandel
/07, Ben Nadel [EMAIL PROTECTED] wrote: That looks pretty cool. I like that it can integrate with FireFox. -Original Message- From: Kris Jones [mailto:[EMAIL PROTECTED] Sent: Friday, May 11, 2007 11:30 AM To: CF-Talk Subject: Re: Unit Testing A Web Interface Selenium

Re: Unit Testing A Web Interface

2007-05-11 Thread Andrew Scott
11, 2007 11:30 AM To: CF-Talk Subject: Re: Unit Testing A Web Interface Selenium? http://www.openqa.org/selenium-ide/ Cheers, Kris Hey All, I have a new manager for a current project and he wants to see me do unit tests for form interfaces for an existing web

Re: Unit Testing A Web Interface

2007-05-11 Thread Sean Corfield
On 5/11/07, Jaime Metcher [EMAIL PROTECTED] wrote: 3. Use cfunit's AssertOutputs function (or steal or write your own for cfcunit) to run the form processing module, capture its output and run a set of assertions agains the output. With cfcUnit, you can either use cfhttp to run the page or

RE: Unit Testing A Web Interface

2007-05-11 Thread Jaime Metcher
Scott [mailto:[EMAIL PROTECTED] Sent: Saturday, 12 May 2007 3:20 AM To: CF-Talk Subject: Re: Unit Testing A Web Interface There is a better one out there but its costs... The one thing selinium lacks is the fact you can't script RMB (Right Mouse Button) :-( On 5/12/07, Ben Nadel [EMAIL

Re: Unit Testing A Web Interface

2007-05-11 Thread Andrew Scott
Sean, That is also a good point... BTW I posted a bug on CFCunit.riaforge.org. I am going to delete that problem ticket because when I looked at it further, my init function returns nothing and outputs a json string for the JS to know what to do. *LOL* I really wish there was more tips on