Code Monkey home page Code Monkey logo

Comments (8)

FrancisBourre avatar FrancisBourre commented on May 20, 2024

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.

FrancisBourre avatar FrancisBourre commented on May 20, 2024

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.

FrancisBourre avatar FrancisBourre commented on May 20, 2024

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.

FrancisBourre avatar FrancisBourre commented on May 20, 2024

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.

FrancisBourre avatar FrancisBourre commented on May 20, 2024

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.

FrancisBourre avatar FrancisBourre commented on May 20, 2024

Neko platform is available till today (PHP platform as well till last week). Next one will be CPP.

from hexmachina.

FrancisBourre avatar FrancisBourre commented on May 20, 2024

Should be an epic with stories in it.

from hexmachina.

FrancisBourre avatar FrancisBourre commented on May 20, 2024

Not planned for now.

from hexmachina.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.