Author Topic: Helping Out, Behaviour driven development  (Read 3746 times)

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5131
  • LV: 197
  • Gender: Male
  • Wants to write a compiler for fun
    • View Profile
Helping Out, Behaviour driven development
« on: June 10, 2014, 06:39:45 AM »
So I know a bunch of you want to help out, and now that we are opensource, there isn't really anything stopping us from letting you. so heres the deal. as I go about redesigning the modularity of this system I'm going to be using BDD unit tests via PyVows. That means that every tiny module will have a test file that describes and confirms it's behaviour. as there really isn't any implementation in the tests they are fairly quick to write, I just have to assume the module in question works. The test of course will fail if if the module in question doesn't work or doesn't exist just yet. That where you can come it. as long as the module in question behaves as expected I don't care HOW its' implemented. so all you have to do to help out is implement the code and get the tests to pass one test at a time. Each module will be fairly simple on it's own, with a singular behaviour, given an input it produces an output.

Any one interested? otherwise I'll just write the tests and implement them myself.


Currently my grandparents are visiting so I don't have a whole lot of freetime to work this week, that changes next week for the rest of the summer.

NOTE: I goign to use the unit tests because it's gotten to hard to keep everything straight, all the interactions, all the components ect. if I write the BDD unit tests I'll have a well defined spec to work off of.
« Last Edit: June 10, 2014, 06:47:45 AM by Ryex »
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19906
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Helping Out, Behaviour driven development
« Reply #1 on: June 10, 2014, 08:37:08 AM »
I agree. Unit tests are a must when the number of developers increases.

Always remeber how such code is written. First you write the test and only then do you implement the feature that is being tested.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5131
  • LV: 197
  • Gender: Male
  • Wants to write a compiler for fun
    • View Profile
Re: Helping Out, Behaviour driven development
« Reply #2 on: June 11, 2014, 03:11:14 AM »
yep, thats the plan. Also I figured out that PyVows only supports python 2 thanks it it's use of GEvent. so instead I'll be using Contexts and Sure
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)