|
From: Holmes, J. <Jas...@ga...> - 2006-06-08 16:39:32
|
Hi everyone, I've been using AsUnit for a while now within the Flash IDE. I love being able to have unit tests it makes writing code so much easier. Anyways, I'm pretty much fed up w/ the slowness of MM's IDE, and have just tried FlashDevelop w/ MTASC. But I don't know how to get the output to work with an external editor. I can run the tests just fine, and I see all my trace output, but I don't get the wonderful green/red bar and test results I've come to love. I'm sure it's just something I haven't setup, but I don't know what it is I need to setup. I have the framework downloaded and installed in Program Files/AsUnit. And it's on the classpath because I'm not getting any compiler errors. So what's the magical trick to connect the output from the editor to the AsUnit view? Thanks a bunch, Jason Holmes jas...@ga... <mailto:jas...@ga...> ------------------------- This e-mail and any attachments may contain confidential material for the sole use of the intended recipient. If you are not the intended recipient, please be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please contact the sender and delete all copies. Thank you for your cooperation |
|
From: Chris A. <mrc...@gm...> - 2006-06-08 16:51:43
|
Hey Jason, Here is a little tutorial I wrote up on how to do it. http://blog.ff9900.org/?p=5 I'm not sure how to call Ant from FlashDevelop but the concepts I presented should help no matter what. -Chirs On 6/8/06, Holmes, Jason <Jas...@ga...> wrote: > > > > > Hi everyone, > > I've been using AsUnit for a while now within the Flash IDE. I love being > able to have unit tests it makes writing code so much easier. > > > > Anyways, I'm pretty much fed up w/ the slowness of MM's IDE, and have just > tried FlashDevelop w/ MTASC. But I don't know how to get the output to work > with an external editor. I can run the tests just fine, and I see all my > trace output, but I don't get the wonderful green/red bar and test results > I've come to love. > > > > I'm sure it's just something I haven't setup, but I don't know what it is I > need to setup. I have the framework downloaded and installed in Program > Files/AsUnit. And it's on the classpath because I'm not getting any > compiler errors. So what's the magical trick to connect the output from the > editor to the AsUnit view? > > > > Thanks a bunch, > > Jason Holmes > > jas...@ga... > > > > ------------------------- > > This e-mail and any attachments may contain confidential material for the > sole use of the intended recipient. If you are not the intended recipient, > please be aware that any disclosure, copying, distribution or use of this > e-mail or any attachment is prohibited. If you have received this e-mail in > error, please contact the sender and delete all copies. > > Thank you for your cooperation > > > > > _______________________________________________ > Asunit-users mailing list > Asu...@li... > https://lists.sourceforge.net/lists/listinfo/asunit-users > > > |
|
From: erixtekila <eri...@gm...> - 2006-06-09 11:43:11
|
> Here is a little tutorial I wrote up on how to do it. > http://blog.ff9900.org/?p=5 Luke, is this way of doing the best approach ? There is no AllTest.as reecursivelly written by the .jsfl file I saw that post : http://www.lennel.org/blog/2006/02/27/building-unit-tests-in-eclipse- from-an-ant-script-for-asunit/ Isn't that way far better whern delaing outside the flash IDE ? > > I'm not sure how to call Ant from FlashDevelop but the concepts I > presented should help no matter what. Yes, FlashDevelop can use Ant. Cheers. ----------- erixtekila http://blog.v-i-a.net/ |
|
From: Chris A. <mrc...@gm...> - 2006-06-09 13:37:20
|
The other approach actually generates the stub code for your tests. I'm not sure that addresses how to create the SWF to run the tests though. I added a custom code snippet to FDT to get my TestCases quickly created. Plus, I find that I tend to make my TestCases before I make the actual class anyway (I write the test first then write the actual code to make it pass the test). So, I'm not sure how this would help me that much, other than automatically adding a line to the AllTest.as. Johannes's co-worker posted something about how they created a way to run the tests and have them report back to Ant before proceeding with compiling and building the rest of the application. This sounded very useful, but I haven't had a chance to look into that yet. Anyway, I would love to hear how others are doing this. -Chris On 6/9/06, erixtekila <eri...@gm...> wrote: > > Here is a little tutorial I wrote up on how to do it. > > http://blog.ff9900.org/?p=5 > Luke, is this way of doing the best approach ? > There is no AllTest.as reecursivelly written by the .jsfl file > > I saw that post : > > http://www.lennel.org/blog/2006/02/27/building-unit-tests-in-eclipse- > from-an-ant-script-for-asunit/ > Isn't that way far better whern delaing outside the flash IDE ? > > > > > I'm not sure how to call Ant from FlashDevelop but the concepts I > > presented should help no matter what. > Yes, FlashDevelop can use Ant. > > Cheers. > ----------- > erixtekila > http://blog.v-i-a.net/ > > > > _______________________________________________ > Asunit-users mailing list > Asu...@li... > https://lists.sourceforge.net/lists/listinfo/asunit-users > |
|
From: erixtekila <eri...@gm...> - 2006-06-09 21:35:26
|
> Anyway, I would love to hear how others are doing this. Perhaps should we wait for next sunday and look after simon wackers'=20 as2ant=85 my 2 cents. ----------- erixtekila http://blog.v-i-a.net/ |
|
From: Johannes N. <joh...@gm...> - 2006-06-10 00:52:06
|
yeah paul describes our whole process here. www.eyefodder.com/ we work in flex, but i think th dev license of flex 1.5 might be a nice way of testing non-ui code without using mtasc On 6/9/06, Chris Allen <mrc...@gm...> wrote: > > The other approach actually generates the stub code for your tests. > I'm not sure that addresses how to create the SWF to run the tests > though. I added a custom code snippet to FDT to get my TestCases > quickly created. Plus, I find that I tend to make my TestCases before > I make the actual class anyway (I write the test first then write the > actual code to make it pass the test). So, I'm not sure how this would > help me that much, other than automatically adding a line to the > AllTest.as. > > Johannes's co-worker posted something about how they created a way to > run the tests and have them report back to Ant before proceeding with > compiling and building the rest of the application. This sounded very > useful, but I haven't had a chance to look into that yet. > > Anyway, I would love to hear how others are doing this. > > -Chris > > On 6/9/06, erixtekila <eri...@gm...> wrote: > > > Here is a little tutorial I wrote up on how to do it. > > > http://blog.ff9900.org/?p=5 > > Luke, is this way of doing the best approach ? > > There is no AllTest.as reecursivelly written by the .jsfl file > > > > I saw that post : > > > > http://www.lennel.org/blog/2006/02/27/building-unit-tests-in-eclipse- > > from-an-ant-script-for-asunit/ > > Isn't that way far better whern delaing outside the flash IDE ? > > > > > > > > I'm not sure how to call Ant from FlashDevelop but the concepts I > > > presented should help no matter what. > > Yes, FlashDevelop can use Ant. > > > > Cheers. > > ----------- > > erixtekila > > http://blog.v-i-a.net/ > > > > > > > > _______________________________________________ > > Asunit-users mailing list > > Asu...@li... > > https://lists.sourceforge.net/lists/listinfo/asunit-users > > > > > _______________________________________________ > Asunit-users mailing list > Asu...@li... > https://lists.sourceforge.net/lists/listinfo/asunit-users > -- j:pn http://www.lennel.org |