Commit Graph

15 Commits

Author SHA1 Message Date
Salvador E. Tropea 3a5042ea96 Simplified the tests 2022-06-10 19:55:13 -03:00
Salvador E. Tropea e15f18de2c Simplified the tests initialization
- Now output dirs are named after the test function
2022-06-10 14:01:56 -03:00
Salvador E. Tropea 792572149b Updated test_bom_ok
- The XML netlist was out of sync.
2022-01-07 12:58:09 -03:00
Salvador E. Tropea 3d5547f6c6 Changed the way we get the target test directory.
- Pytest 6 removed the old global mechanism.
- Now using a `fixture`
2021-02-01 11:16:33 -03:00
Salvador E. Tropea 92678bf3cc Adapted all test_bom tests to run with KiCad 5.99.
Also simplified the context.TestContextSCH instantiation.
2020-10-16 16:42:17 -03:00
Salvador E. Tropea e2a00a6f7d Fixed test_bom_cfg_2, now includes the footprint 2020-10-15 19:37:34 -03:00
Salvador E. Tropea d4a2d40593 Adapted some `bom` tests to pass with KiCad 5.99. 2020-10-15 18:58:10 -03:00
SET 89914443f0 Renamed the kiplot module as kibot.
Also added src/kibot script.
Updated the documentation and Debian packaging.
The default extension for config files now is .kibot.yaml
2020-08-16 22:04:03 -03:00
Salvador E. Tropea 165d9aa15d Added full KiBoM configuration from the YAML config. 2020-07-22 18:33:53 -03:00
Salvador E. Tropea 42342236da Added test fro KiBoM with variant and print_sch_pdf fail. 2020-07-08 22:42:24 -03:00
Salvador E. Tropea 3c6f4950c7 Now the schematic can be specified separately.
We now test if the PCB and/or SCH are there only when we need them.
2020-06-29 19:25:54 -03:00
Salvador E. Tropea c2a735e9a6 For some reason Python sys.path vector has a limit and I was abusing it.
Each test module setups the path to find the needed modules, but didn't check
if it was necesary. Creating a long path that finally started to fail.
2020-06-15 15:14:53 -03:00
Salvador E. Tropea 61f1ebbab2 Better debug info, fixed errors and no .kicad_pcb dependency
- When a BoM operation fails now we show the output of the child process.
  (Only enabled when using debug verbosity)
- The error levels 1 and 2 were overlapped with internal Python codes.
- Now we delay the PCB load until we really need it. Which could be never.
2020-06-12 15:10:56 -03:00
Salvador E. Tropea 86a08d389a Fixed comments in test_bom.py (were the ones from drill) 2020-05-15 10:58:51 -03:00
Salvador E. Tropea d8daa8b4e7 Added small test for KiBoM files 2020-05-15 10:40:29 -03:00