From arthur....com on December 04, 2013 15:23:04
Branch name:test Purpose of code changes on this branch: Add test skeleton based on Node.js and Mocha. When reviewing my code changes, please focus on: 1. The dependency management part is quite messy right now. It relies on the test author to load all required dependencies. I can think of three ways to solve it:
a. build the provide/require/load mechanism inside FOAM b. use a script to auto-generate that part based on precooked dependency graph c. inside FOAM code, detect if Node.js is there. If so, do necessary modules.export and require. 1. The provided test currently fails on the aseq test. It seems to me that aseq returns prematurely without finishing all async functions. Need help to determine if this is a node.js issue or not, and how to overcome it. After the review, I'll merge this branch into: /master
Original issue: http://code.google.com/p/foam-framework/issues/detail?id=117
该提问来源于开源项目:foam-framework/foam