summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2014-12-16moving files around after repository mergerAlon Levy
2014-12-03Fix jsons: source->__src, target->__dstAlon Levy
for json in tools/cri.json tools/sage.json tools/deliverables.json heroes.json tests/wizmann.json; do sed -i -e 's/\<source\>/__src/g' -e 's/\<target\>/__dst/g' $json; done
2014-11-19wide source/target -> __src,__dst rename, align with DB modelLV-426
2014-11-16Adding helper server - launch with python tests/util/RhiziHTTPServer.pyAlon Levy
SimpleHTTPServer does a wrong 301 for query parameters, i.e.: http://bla:foo/?hello=1 301 => http://bla:foo/?hello=1/ which kills our query parameter parsing. Instead of making the client handle non compliant servers I rather fix the test server to not 301. Real servers (need to check) don't do this I hope.
2014-11-13rename scripts/ -> src/LV-426
2014-11-10rename rhizicore -> rz_core, move towards common rz_ prefixLV-426
2014-11-03add helper script to commit run_tests outputAlon Levy
2014-11-03update run_tests.js outputAlon Levy
2014-10-27update test output, mark issue 86 test as suchAlon Levy
2014-10-27Fixes #116 - no star graph for a single nodeAlon Levy
2014-10-26tests: print link label in graphviz outputAlon Levy
2014-10-26tests: forgot test2.js (used by test_require_js.js)Alon Levy
2014-10-26tests: forgot some more filesAlon Levy
2014-10-26oops, forgot tests/base.jsAlon Levy
2014-10-21test_analyzer: better testAlon Levy
need better graph accessors to give only the 'real' nodes & links - that will fix some of the tests, leaving the real wrong ones
2014-10-21fix test_analyzer after require.jsAlon Levy
2014-10-20introduce require.js and rewrite testsAlon Levy
Yes, I'm being lazy. The purpose of require.js is to allow writing modules, i.e. individual smaller then the whole files with clear dependencies. This is achieved by using a new api provided by require.js: define, require, requirejs Read more at [requirejs] (http://requirejs.org) Tests have been rewritten to work correctly with require.js; they still use jsdom. Test output is now stored in the repository, all tests are run via run_tests.js; This is a hack - once a good harness (with assertions, suites - unittest like) presents itself it will be used. Hidden here is also using FileSaver for history saving, so history is saved to history.json instead to a random name. Plus dropping some dead code.
2014-10-19[wip] tests/test_analyzer #82Alon Levy
2014-10-09test_analyzer: correct command line argumentsAlon Levy
2014-10-08add tests_analyzerAlon Levy
node test_analyzer.js '#a and #b and #c are cool' | dot -Tpng > /tmp/temp.png; xdg-open /tmp/temp.png Todo: use stdin, then it will be a total pipe Todo: make this a rhizi debug feature that displays the image in the browser?
2014-10-07tests: add test_nan_problemAlon Levy
replaces test_history.js. fixes links to new external/scripts/* The new test some point it actually showed the d3 problem, but now it doesn't. To run it: node tests/test_nan_problem.js | grep nan
2014-10-02tests: get meaningful console.log in loaded scriptsAlon Levy
2014-09-28add jsdom based test - not actually history test yet, just calls textAnalyser2Alon Levy