Skip to content

v0.15#105

Closed
S-S-X wants to merge 14 commits intomasterfrom
v0.15
Closed

v0.15#105
S-S-X wants to merge 14 commits intomasterfrom
v0.15

Conversation

@S-S-X
Copy link
Owner

@S-S-X S-S-X commented May 4, 2025

Formspec testing.

@S-S-X S-S-X added the in-latest-docker Included with latest docker images, might not yet be available elsewhere label May 4, 2025
@S-S-X S-S-X force-pushed the v0.15 branch 4 times, most recently from c8d13a5 to 0bc9565 Compare May 10, 2025 17:03
@S-S-X
Copy link
Owner Author

S-S-X commented May 10, 2025

Rebased to master (after v0.14.1 release)

Basic smoke tests

Tested mod success failed error pending seconds
Mineunit self tests 172 0 0 1 0.917975
Mineunit demo spec 8 0 0 1 0.027292
advtrains 22 0 0 0 0.01841
archtec 5 0 0 1 0.016856
archtec_playerdata 7 0 0 0 0.022898
beerchat 161 0 0 1 0.369973
geoip 11 0 0 2 0.038801
machine_parts 5 0 0 0 0.034455
mesecons 20 0 0 0 1.060879
mesecons_mvps 19 0 0 3 0.218068
mesecons_fpga 28 0 0 0 1.343301
mesecons_luacontroller 12 0 0 0 0.289807
metatool 21 0 0 0 0.034081
containertool 10 0 0 0 0.024488
sharetool 15 0 0 0 0.025943
tubetool 33 0 0 0 0.02779
modular_computers 5 0 0 0 0.025277
spectator_mode 21 0 0 0 0.026426
qos 31 0 0 3 0.06617
technic/technic 243 0 0 4 4.74683
technic/technic_cnc 31 0 0 0 0.434164
technic/technic_chests 5 0 0 0 0.023768

Everything's passing, updated docker images.

@S-S-X
Copy link
Owner Author

S-S-X commented May 11, 2025

Rebased to master (v0.14.2), smoke tests look pretty much same as previous run ^^

@S-S-X S-S-X force-pushed the v0.15 branch 2 times, most recently from 2598868 to 2d524d7 Compare May 19, 2025 17:46
S-S-X and others added 14 commits May 28, 2025 20:04
Fix esplit last part, better form arg handling, fix and rename FS to Element

Form allow type pattern: elementtype -> typepattern

Update formspec handler with better parsers and transformers

Optimized some things and added more utility methods
Signed-off-by: SX <50966843+S-S-X@users.noreply.github.com>
Signed-off-by: SX <50966843+S-S-X@users.noreply.github.com>
Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
Signed-off-by: SX <50966843+S-S-X@users.noreply.github.com>
Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
@github-actions
Copy link

Click for detailed source code test coverage report

Test coverage 52.19% in 32/38 files:

File                                      Hits Missed Coverage
--------------------------------------------------------------
game/constants.lua      12   0      100.00%
voxelmanip.lua          195  2      98.98%
settings.lua            374  17     95.65%
game/privileges.lua     64   3      95.52%
craftmanager.lua        119  13     90.15%
assert.lua              179  28     86.47%
formspec.lua            166  34     83.00%
core.lua                113  25     81.88%
auth.lua                39   10     79.59%
craft.lua               86   24     78.18%
itemstack.lua           121  34     78.06%
entity.lua              63   20     75.90%
player.lua              305  121    71.60%
metadata.lua            177  80     68.87%
init.lua                150  73     67.26%
globals.lua             41   22     65.08%
game/features.lua       21   12     63.64%
game/register.lua       209  158    56.95%
fs.lua                  5    4      55.56%
common/serialize.lua    55   44     55.56%
world.lua               76   75     50.33%
common/vector.lua       70   73     48.95%
server.lua              69   92     42.86%
common/misc_helpers.lua 155  261    37.26%
game/auth.lua           38   68     35.85%
game/misc.lua           42   87     32.56%
nodetimer.lua           12   25     32.43%
common/chatcommands.lua 20   46     30.30%
game/item.lua           142  331    30.02%
lib/json.lua            51   146    25.89%
game/chat.lua           150  593    20.19%
deprecation.lua         3    13     18.75%
scwd.lua                0    1      0.00%
protection.lua          0    12     0.00%
print.lua               0    56     0.00%
http.lua                0    60     0.00%
default/functions.lua   0    354    0.00%
common/after.lua        0    26     0.00%

Mineunit stdout:

++ Executing suite spec/assert_spec.lua
++ Executing suite spec/auth_spec.lua
++ Executing suite spec/core_spec.lua🢆 Running tests from core_spec.lua:39 ▷ Mineunit core deprecation prints error
E:	test deprecation message
🢆 Running tests from core_spec.lua:39 ▷ Mineunit core deprecation prints warning
W:	test deprecation message

++ Executing suite spec/craft_spec.lua
++ Executing suite spec/formspec_spec.lua🢆 Running tests from formspec_spec.lua:109 ▷ Mineunit formspec Mineunit:Form provides fields table
E:	Form:fields() is experimental and UNSTABLE. Its behavior and interface WILL BE CHANGED.

++ Executing suite spec/itemstack_spec.lua◌
++ Executing suite spec/metadata_spec.lua
++ Executing suite spec/player_bare_spec.lua
++ Executing suite spec/player_spec.lua
++ Executing suite spec/voxelmanip_spec.lua
240 successes / 0 failures / 0 errors / 1 pending : 4.092833 seconds

Pending → spec/itemstack_spec.lua @ 20
ItemStack constructor fails ItemStack()
spec/itemstack_spec.lua:20: Waiting for strict mode implementation

@S-S-X
Copy link
Owner Author

S-S-X commented Jun 22, 2025

Superseded by #118

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in-latest-docker Included with latest docker images, might not yet be available elsewhere

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants