Latest docker image: mboussaa/haxe https://hub.docker.com/r/mboussaa/haxe/
Library documentation: http://tbrosman.github.io/hxmath
A docker image for non functional testing of Haxe code generators.
Hxmath library
http://tbrosman.github.io/hxmath
A 2D/3D math library for Haxe implemented using abstracts for maximum compatibility with existing libraries (specifically OpenFL).
-Java
-C++
-C#
-Nodejs
-PHP
-Flash
-AS3
...
-Execution time
-Compilation time
-Memory usage
-CPU time
...
-google/cadvisor:0.19.3
-tatum/influxdb:0.8.8
-docker version 1.6
1- install docker version 1.6
2- git clone https://github.com/mboussaa/haxe-testing.git /shared
3- cd /shared/
4- you can compile and run each benchmark program to a specific platform For example:
haxe test_cpp.hxml
This will compile to cpp target and run binaries. You can compile to other targerts using test_js or test_java etc...
1- If you want to compile all test suites and haxe libraries to different target platforms.
For that, we have prepared a compilation script. Thus, you have to run the following command:
docker run -it --rm -w /shared/ -v /shared:/shared --name=haxe mboussaa/haxe /bin/bash -c "./compileAll.sh"
2- Time to run some test cases to specific target platform
docker run -w /shared/hxmath -it --rm -v /shared:/shared --name=haxe_run mboussaa/haxe /bin/bash -c "./run_java.sh 1"
In this example, we compile test suite number 1 with java target. Available testsuites range from 1 to 9. you can modify the target by using for example run_js.sh or run_cs.sh
1 - To build automatically and run all tests use:
./build.sh
This will compile all programs and run all tests. If you use this method you don't have to execute instructions descibed above.
-Automatic test data generation
-set monitoring components for haxe
-gather non-functional properties
...