Testing / Development practices

Posted on
  • I have just started looking into developing outside of the WebIDE and want to get a decent set up with Jasmine or similar for testing my code. Currently I am doing this by mocking the Espruino specific function calls within my tests.

    Does anyone have any pointers tips for testing Espruino code that they might like to share?

  • Well, depending on what functions you're calling you might be able to use the node-espruino node module, which will let you call out to an actual Espruino board?

    Presumably you could use it to load your code into the board, and could then use Jasmine on the PC to run each test on the board itself?

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Testing / Development practices

Posted by Avatar for Justin @Justin

Actions