psycharo-zz / factor-graph

matlab/c++ factor graph framework
32 stars 8 forks source link

add xunit to distribution #22

Closed ghost closed 12 years ago

ghost commented 12 years ago

please add xunit distribution to +ffg/libraries/xunit and (temporarily) add libraries/xunit to the path when you execute tests.

Today, when I add 'cpp-factor-graph/code' to my path and then run 'testAddNode', I get

>> testAddNode
Undefined function or variable 'initTestSuite'. 
Error in testAddNode (line 4)
initTestSuite; 
4   initTestSuite;

Note that in order to make sure that it runs both on linux and win, you shoudl use the fullfile fcn to make paths, as in fullfile('libraries','xunit').

psycharo-zz commented 12 years ago

I don't like the idea of adding a library that we don't develop to the project. I will find out whether there is a way to track dependencies in matlab

ghost commented 12 years ago

OK, sounds good