Add BOM output, fix LTspice Tier 2 import, real .asc integration tests

- Fix _try_ltspice_generation() to use spicelib.simulators.ltspice_simulator.LTspice
  instead of the abstract Simulator base class (which always returned unavailable)
- Use LTspice.create_netlist() instead of Simulator.run() for correct netlist generation
- Add --ltspice-exe CLI option to specify LTspice binary path
- Add --bom flag for component BOM CSV output (works on any parse completeness)
- Add --bom-wiring flag for wiring BOM CSV from mapped output
- Add real 1002A.asc demo circuit and pre-generated .net as test fixtures
- Add @pytest.mark.ltspice marker for tests requiring LTspice binary
- Bump version to 2026.2.14
This commit is contained in:
Ryan Malloy 2026-02-13 07:00:39 -07:00
parent 08c92bfefb
commit 5a5337566c
11 changed files with 607 additions and 14 deletions

View file

@ -14,7 +14,7 @@ class TestCLIBasic:
runner = CliRunner()
result = runner.invoke(main, ["--version"])
assert result.exit_code == 0
assert "2026.2.13" in result.output
assert "2026.2.14" in result.output
def test_list_subcircuits(self):
runner = CliRunner()