10 Commits

Author SHA1 Message Date
SX
d6802c2a48 Update tests for network code refactoring
Drop coverage stats for sources outside of technic directory (technic_cnc, technic_worldgen)
Update technic API functions for tests (were exported just for tests, now part of API)

Move CNC tests, use shared fixtures for tests
2021-11-30 07:29:05 +02:00
SX
6cee944770
Extended Mineunit tests (#208)
* Extended Mineunit tests

* Tests for Technic CNC

* Test node placement for all listed nodes

* Test cable plate placement
2021-11-06 09:12:08 +02:00
SX
a73ccd7d48 Fix supply converter protection (#162)
* Test #161

* Fix supply converter protection

* Fix mistake in spec...

Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
2021-03-05 00:32:06 +02:00
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
93c509d1d9 Better tests for SC placement between networks 2020-10-31 04:43:37 +02: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