Monday, 15 February 2010

How to configure ocaml ounit tests not to be concurrent? -



How to configure ocaml ounit tests not to be concurrent? -

currently have next running unit tests:

let suite = "suite">::: ["test_1">:: test_1; "test_2">:: test_2;] ;; allow () = run_test_tt_main suite ;;

problem is, test_1 , test_2 involve tcp communication, , have shared ports. need them run sequentially, don't care order.

edit: command line argument can specified run them sequentially

test-name -runner sequential

but how create alternative default in source code?

ocaml ounit

No comments:

Post a Comment