TDD and Design Pattern Resources
NetObjectives offers several courses through Engineering Excellence for Employees. I would recommend anyone eligible to take advantage of the trainings -- they are fantastic. If you are an agency temp or vendor there is still a lot you can learn via the free articles, podcasts, and webinars they offer on their site. Many require free registration, but it's well worth the couple minutes it takes to sign up.
http://www.netobjectives.com/resources/design-testing-programming-skills-agile-developers
If you are in Seattle I would highly recommend reading the articles below, as they will help give context to the brown bags we will be holding periodically. Any materials we generate in the brown bags will be distributed to the team at large.
Ascension of Test-Driven Development
http://www.netobjectives.com/ezines/ez0706NetObj_AscensionTDD.pdf
The Case for Unit Testing (requires free registration)
http://www.netobjectives.com/resources/webinars/case-unit-testing
Get it Right From the Start (requires free registration)
http://www.netobjectives.com/resources/articles/lean-agile-quality-right-from-start
Unit Testing and Design Patterns (requires free registration)
http://www.netobjectives.com/resources/articles/unit-testing-design-patterns
And as an aside, you may want to check out this article on Design Patterns:
http://www.research.ibm.com/designpatterns/pubs/top10misc.html
Enjoy!
标签:design patterns, tdd, test driven developmentHow to test private method in AS3
when using TDD, we often confused with how to test private method, but never think about why we had to test private methods.
if fact, if your team follows TDD, you needn't think about such crazy thing.
that's why?
1.every code begins with simple, public method, and we test it.
2.the simple ,public method will be reflect and separated into sever private method. every small changes are tested by unit test.
In TDD, all the private method comes from public method, and prev. public method is well tested. So, unit testing to private method is not necessary!
for detail, please refer to :
http://agiletips.blogspot.com/2008/11/testing-private-methods-tdd-and-test.html
标签:ActionScript3, private method, tdd, unit test