8 Commits

Author SHA1 Message Date
SX
431d917ff3 Mineunit rock 2021-02-23 08:33:11 +01:00
SX
c35b61f7ca Test coverage report (#156)
* Coverage and mineunit configuration

* Add .luacov config and install cluacov

* Add coverage badge

* Update coverage badge label

* Use mineunit-actions

* Fix working-directory

* Remove mineunit from submodules

Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
2021-02-18 13:54:55 +02:00
SX
fd3b0898af Update mineunit (#133)
* Switch to mineunit for regression tests

* Update mineunit

Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
2020-11-24 10:06:56 +02:00
SX
8405b5cdb9 Switch to mineunit for regression tests 2020-11-21 18:25:49 +01:00
SX
1a83a03ad0 Test SC digging for nil cable network use
Check network table before attempting to use it
2020-10-31 04:43:35 +02:00
SX
977913c785 Basic tests for SC, cleaner world fixture management 2020-10-31 04:43:24 +02:00
SX
d206956810 Destroy network if ref switch disappears, cleanup switching station code
Remove rest of SP_nodes from code, it does not contain anything

Reset switch infotext, export machine_tiers

Add tests for cable building between active networks

Remove all networks when cable is placed between networks

Fix SC connectivity issues
2020-10-31 04:43:16 +02:00
SX
8c5aca5856 Net building tests
Fix few cable place/dig issues

Tests for machine build/dig

Fix machine build/dig bugs

Fix test for machine building

Fix machines acting like cables when placed

Inline fixtures for building/digging tests

fix ignored luacheck warnings

(#105)

fix long lines

(#105)

Add more tests for bugs found

Fix tests, add minetest.get_us_time (implement using socket.gettime)
2020-10-31 04:42:24 +02:00