Dev Notes: 1. Testing instructions - openly-retro/stellaris-machine-robot-expansion GitHub Wiki
Automated tests
There are some Python scripts that automatically generate script used in the mod's files.
pip install pyyaml pytest
- From the mod root folder, run
pytest -vv .\mre_code_tools\
- All tests should pass
Manual tests
Loading the mod
- Stellaris launcher should not show <!> warning icon, for the version.
- Leader-making edict and core assembly edict are visible, if you have the Paragons DLC
- Mod settings edict is visible in edict menu
Leader-making feature
All this is WIP.
Expectations
- UI should not have any "ERROR" graphics anywhere
- No gaps between trait icons
- All tooltips are filled out
- Traits requiring a subclass should show which subclass is required
Instructions
Start a not-ironman game with the Paragons and Synthetic Ascension DLCs.
- console command:
skill 10
this will make all your leaders level 10 - Open the leader assembly window via the edict
- Select "scientist", "explorer"
- Try assembling a skill lvl 10 leader with any destiny trait. Pick some other traits.
- Assemble the leader and verify it was created with the traits & class that you picked
World-machines
Planet blocker should not permit Auto-machine world decision to be started.
- Start game, give self resources and
research_all_technologies
- Open homeworld, check that there is one blocker
- Open homeworld, go to decision panel, choose Auto Machine World decision
- It should not be possible to enact the decision
Other features
TBD