Comments (8)
From @grosmar on May 30, 2016 16:47
Hey! Thanks :)
Normally it should work because the runner itself is single thread and platform independent, but you're right, there is no notifier written for neko/cpp target.
Do you feel to try to write a notifier based on the existing ones? I think a console line notifier could be written really fast and simple, and it would be great to see also for us how does it operate in another platform :)
from hexmachina.
From @cambiata on May 30, 2016 18:27
Well, there seems to be a problem with the MethodRunner and the limited neko Timer...
/src/hex/unittest/runner/MethodRunner.hx:153: characters 3-19 : haxe.Timer has no field stop
/src/hex/unittest/runner/MethodRunner.hx:155: characters 16-36 : haxe.Timer does not have a constructor
/src/hex/unittest/runner/MethodRunner.hx:156: characters 2-17 : haxe.Timer has no field run
/src/hex/unittest/runner/MethodRunner.hx:204: characters 2-42 : haxe.Timer has no field stop
/src/hex/unittest/runner/MethodRunner.hx:168: characters 3-43 : haxe.Timer has no field stop
/src/hex/unittest/runner/TestRunner.hx:190: characters 3-14 : Class<haxe.Timer> has no field delay
from hexmachina.
From @grosmar on May 30, 2016 18:48
Ah your right :)
There is weak Timer functionality in neko.
I will look into it
from hexmachina.
From @grosmar on May 30, 2016 19:35
Hmmm looks strange. Which version of haxe and neko do you use?
Normally according to haxe documentation it should not work:
http://api.haxe.org/haxe/Timer.html
But for me i could use everything (I use 3.3.0)
Btw, I had to make some modifications on hexUnit. Now i can run async tests and there is no problem with MethodRunner.
Could you check it?
from hexmachina.
From @grosmar on May 30, 2016 20:51
I've checked it. It's compatible with 3.3.0, but not with 3.2.x
I've added some conditional compiling to manage this case, so it should work now.
Let me know if it works for you.
from hexmachina.
Neko platform is available till today (PHP platform as well till last week). Next one will be CPP.
from hexmachina.
Should be an epic with stories in it.
from hexmachina.
Not planned for now.
from hexmachina.
Related Issues (20)
- Allow getting returned value from instance methods / bound functions. HOT 2
- Strong restrictions to what is allowed in anonymous objects. HOT 1
- Dependency checking failure because of space
- Using returned value from static function fails mapping type checking HOT 1
- Runtime dsl params not works correctly with interfaces HOT 2
- Unable to use static call within array construction HOT 2
- 1.0.0-alpha.4 regression: Class without package cannot be instantiated in flow
- Add recursive ECall parsing HOT 1
- add Map type support in flow DSL HOT 2
- Compile time exception when trying to instantiate class without a constructor from flow HOT 1
- Injector crashes when mapping null as value
- Current status HOT 1
- Cannot run tests of hexCommand HOT 1
- Is it possible to re-inject dependencies to previously created instance (e.q. singleton)? HOT 1
- injectInto. Issue with optionals HOT 2
- Injector doesn't work with neko target? (1.0.0-alpha.7)
- Injector and hasMapping HOT 2
- [hexinject, HTML5] uncaught exceptions are no being logged to console, if it happens during getInstance HOT 2
- "duplicate access modifier public" when trying to use injection
- Is it possible to map typedef to Injector? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hexmachina.