Archive

Posts Tagged ‘ruby’

Test Driven Development (Conjure and Ruby. Flash?)

September 1, 2008 raptros-v76 Leave a comment

So. Conjure is coming along slowly. The stranger aspects of the template settings class are working now, according the the testing I have done. I have been trying to work in the test driven development workflow. I can see why it is a good idea, it just takes a bit of time to really get used to. The hard part has been forcing myself to write the test first every time. A mental shift like that is never easy.
Unit testing is easy in Ruby because of Test::Unit. I’m not sure that there is a similar system in Flash for such unit testing, and if not, I will probably develop one myself. Yes, I know that I should be working on an object information dumper for Jesse Freeman, but seriously, a unit testing system is probably better in the long run. And of course, I need to finish Conjure, because it will be awesome.

Status of Projects

August 31, 2008 raptros-v76 Leave a comment

Flash object info dumper: having a bit of trouble. I’m stuck; I cannot figure out how to use a string naming a variable of an object and getting the value out of it. I thought that the variables could be accessed as in an associative array, but that is not the case. Also, getting at the properties of an associative array cannot be done through the describeType() method. So I would very much appreciate some advice towards doing this; then I will be not far from finishing this project.

I have started another project, called Conjure (for now). It generates files (and directory hierarchies) from templates, and it uses various means to get information. Hopefully, I’ll have enough code put together soon that I’ll feel ready to put it up somewhere. I may even try to explain the idea better tomorrow.
UPDATE: I just realized, I forgot to mention that Conjure is written in Ruby. A very important bit of info. Also, I am trying out test-based development.

Categories: Uncategorized Tags: , , ,