Skip to content
This repository has been archived by the owner on Dec 13, 2021. It is now read-only.

Add build target to run tests on Flash, JavaScript, etc. #12

Closed
djcsdy opened this issue Jul 14, 2013 · 1 comment
Closed

Add build target to run tests on Flash, JavaScript, etc. #12

djcsdy opened this issue Jul 14, 2013 · 1 comment

Comments

@djcsdy
Copy link
Owner

djcsdy commented Jul 14, 2013

Since #11 there is a build target to run our automated tests on Neko.

Unfortunately just because the tests pass on Neko doesn’t mean they will pass on other platforms. Indeed, they are currently failing on Flash.

It’d be really useful to have a build target to run tests on other platforms, although it will be quite a bit trickier.

  • For JavaScript we could possibly run tests in node and/or PhantomJS.
  • For Flash we could invoke the standalone Flash Player and write a wrapper to report test results back over a socket. FlexUnit’s Ant tasks work this way.
  • For PHP we could invoke the php binary if available (if it’s built with CLI support).
  • For C# it should be feasible to invoke a C# compiler and then invoke the resulting executable, although it’s likely to be tricky to make this work cross-platform.
  • For Java it should be trivial to invoke the Java compiler and run the resulting binary with the JRE, because Ant supports this natively.
  • For C++ we could conceivably invoke a C++ compiler and then invoke the resulting executable, but this is almost certainly more work than it’s worth.
@djcsdy
Copy link
Owner Author

djcsdy commented Jul 14, 2013

Split into #14, #15, #16, #,17, #18, #19.

@djcsdy djcsdy closed this as completed Jul 14, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant