1. 08 Nov, 2020 1 commit
    • Gregor Hartmann's avatar
      Create NodeMCU test system based on gambiarra (#2984) · c4baa9f3
      Gregor Hartmann authored
      * Create mispec_file.lua
      
      * Initial commit of gambiarra
      
      * Adapt gambiarra to NodeMCU
      
      * adapt to NodeMCU spacing and add nok functionality
      
      * Some refactoring to make it easier to add new functionality
      
      * Add methode `fail` to check failing code and pass error messages to output
      
      - fail can be called with a function that should fail and a string which should be contained in the errormessage.
      - Pass failed check reasons to output.
      
      * Create gambiarra_file.lua
      
      * Add reporting of tests that failed with Lua error
      
      * ok, nok and fail will terminate the running test
      
      * Add capability to run sync and async tests in mixed order and have a task.post inbetween them
      
      * fix gambiarra self test to also run on device (not only host)
      
      Use less ram in checking tests directly after they ran.
      Use nateie task.post to tame watchdog.
      
      * Update file tests + add async tmr tests
      
      * Another fix in executing async test
      
      * Catch errors in callba...
      c4baa9f3
  2. 09 Jun, 2020 1 commit
    • galjonsfigur's avatar
      Polish Lua examples (#2846) · 6926c66b
      galjonsfigur authored
      * Add missing globals from luacheck config
      
      * Fix luacheck warnings in all lua files
      
      * Re-enable luacheck in Travis
      
      * Speed up Travis by using preinstalled LuaRocks
      
      * Fix more luacheck warnings in httpserver lua module
      
      * Fix DCC module and add appropriate definitions to luacheck config.
      
      * Change inline comments from ignoring block to only ignore specific line
      
      * Add Luacheck for Windows and enable it for both Windows and Linux
      
      * Change luacheck exceptions and fix errors from 1st round of polishing
      
      * Add retry and timeout params to wget
      6926c66b