- 09 Jan, 2021 1 commit
-
-
Gregor Hartmann authored
fix regression in luaL_typerror and Change NTest so it can run tests on the host emulating node.task.post (#3357) * Change NTest so it can run tests on the host emulating node.task.post * Add executing first host test * Regression: fix luaL_typerror
-
- 06 Jan, 2021 1 commit
-
-
Nathaniel Wesley Filardo authored
`ws2812` buffer extracted to new `pixbuf` module. * The new pixbuf module has more functionality than the `ws2812`-specific buffer it replaces. * This is work in progress towards https://github.com/nodemcu/nodemcu-firmware/issues/2916 * The LED driver modules `ws2812`, `ws2801`, `apa102`, and `tm1829` have sprouted `pixbuf` support. * `NTest` tests for `pixbuf` now exist. While here, document the ws2812 UART-based overlapping with mainline execution. Fixes https://github.com/nodemcu/nodemcu-firmware/issues/3140 Co-authored-by:
Gregor Hartmann <HHHartmann@users.noreply.github.com>
-
- 31 Dec, 2020 1 commit
-
-
Gregor Hartmann authored
* convert mispec tests to NTest and remove mispec * fix luacheck
-
- 12 Dec, 2020 1 commit
-
-
Philip Gladstone authored
* COnvert the rst to md... * CLeanup the automatic conversion * Try and make the tables work * And again * Get rid of the end-of-table marker
-
- 15 Nov, 2020 1 commit
-
-
Nathaniel Wesley Filardo authored
-
- 13 Nov, 2020 1 commit
-
-
Gregor Hartmann authored
* Allow turning off softwd again as documented * fix luacheck warnings * fix outcome of review
-
- 08 Nov, 2020 1 commit
-
-
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 callbacks using node.setonerror * change interface to return an object with several test methods * Update README.md * Change interface of Gambiarra + add reason for failed eq * Update gambiarra documentation * Add coroutine testcases to gambiarra * Delete mispec_file.lua as it is superseeded by gambiarra_file.lua * improve regexp for stack frame extraction * Use Lua 53 debug capabilities * move actual tests upfront * remove debug code + optimization * Show errors immediately instead of at the end of the test, freeing memory earlier * Split tests to be run in 2 tranches * rename to NTest and move to new location * Add tests to checking mechanisms * Add luacheck to tests * Some pushing around of files * more (last) fixes and file juggling * Minor tweaks and forgotten checkin * Add NTest selftest to travis * Trying how to master travis * another try * restrict NTest selftest to linux
-