AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

anyone missing some kind of testing framework for ahk?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
urlwolf



Joined: 16 Mar 2006
Posts: 100

PostPosted: Fri Jan 25, 2008 1:05 pm    Post subject: anyone missing some kind of testing framework for ahk? Reply with quote

Hi,

Since now there are large scripts coded by several users, even using a repository (see lil'builder), it looks like we could easily start using a test framework too.

Basically, the idea is to write tests for units of your code, and run these tests everytime you add something that may break the code.

Sounds simple, and sensible. It's more appropriate for OO development, but I'm sure it can be adapted to testing ahk functions and labels and such.

There are a few paradigms (some coming from the extreme programming people).
Examples:
http://en.wikipedia.org/wiki/Behaviour-driven_development
http://en.wikipedia.org/wiki/Test-driven_development

Most languages have support a test driven tool called NUnit. Maybe it's a good idea to write something similar for ahk?

Note: I don't use ahk often enough to justify writing this, plus I don't use NUnit myself so I'm just talking about what _sounds_ like a good idea. It may not be.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group