Salvador E. Tropea
d4a2d40593
Adapted some `bom` tests to pass with KiCad 5.99.
2020-10-15 18:58:10 -03:00
Salvador E. Tropea
c80fc49b54
Added infraestructure to support KiCad 6 tests.
2020-10-14 18:03:18 -03:00
Salvador E. Tropea
71fe37cfc6
Support for new `pcbnew_do export` options.
2020-10-09 11:27:30 -03:00
Salvador E. Tropea
b03b56ae5d
Added more coherence to the variants/filters.
...
- Now they behave more coherently across outputs.
- Component status is explicitly reset, so having a variant + filter
behaves in a more consistent way. Even when this isn't the
recommended use.
- Virtual components are handled by the exclude filter.
- Moved code to modify the PCB to VariantOptions.
- Added a real virtual component to the tests, not a ridiculous case.
2020-09-08 20:01:16 -03:00
Salvador E. Tropea
23e46df1c5
Added variants support to the PCB print (PDF)
...
Needs some adjustement, but is working.
2020-09-07 19:26:16 -03:00
Salvador E. Tropea
0e394b468b
Added variants support to the schematic SVG print.
2020-09-06 18:22:38 -03:00
Salvador E. Tropea
a59870808d
Made the image comparisson more fuzzy.
2020-09-04 18:51:05 -03:00
Salvador E. Tropea
c56af11007
Added variants to all the PCB plot outputs.
...
Tested for gerbers that are currently excluding pads from *.Paste.
2020-09-03 11:11:03 -03:00
Salvador E. Tropea
220e2f252e
Added tests for various schematic strange cases.
...
- Component withour lib
- Missing component
- Poligon without points
- Pin with unknown direction
2020-09-02 10:04:32 -03:00
Salvador E. Tropea
7f6144e32e
Added tests for sch_variant and pdf_print_sch
...
For the filter and variant stuff.
2020-09-01 16:56:31 -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
SET
b0733ae07f
Fixed tests that change directory when we run the test on a temporal.
2020-08-16 00:23:43 -03:00
SET
71d1ee3bc7
Added better generic example generation.
...
To add more realistic defaults.
2020-08-15 23:59:39 -03:00
SET
400d5e436d
Fixed the KiCad config error tests.
...
They modified the environment and didn't undo the changes.
2020-08-15 15:24:18 -03:00
SET
cd8b88124e
Made the extra verbose tests more verborragic.
2020-08-14 19:58:00 -03:00
SET
6258b79023
Added test for errors in AR and basic fields.
2020-08-14 17:29:18 -03:00
SET
5d3cefe6ce
Added tests for errors in library components.
2020-08-14 16:25:16 -03:00
SET
a4082e617f
Added test for custom style in HTML.
2020-08-14 13:02:45 -03:00
SET
92e4209ca4
Added tests for bogus and custom logo for HTML
2020-08-14 12:29:47 -03:00
SET
1879df2f6a
Added test for the sort using en_US locale and a bogus locale.
2020-08-14 11:33:42 -03:00
SET
815e475b8d
Added tests to exclude PCB and/or Stats info in CSV files.
2020-08-14 11:13:45 -03:00
SET
ea8f318696
Added tests for TXT and quote_all
2020-08-14 10:21:21 -03:00
SET
7544f75a53
Fixed problems when comparing gray scale images.
2020-08-13 22:32:15 -03:00
SET
2e4508ad50
Added code to tolerate KiCad version difference in images.
2020-08-13 20:18:59 -03:00
SET
5ad4687d9d
Fixed missing argument in tests that should fail
2020-08-13 20:13:49 -03:00
SET
d904dc516f
Added a test for missing xlsxwriter module.
...
Is reported as an error, not fatal, but error.
2020-08-13 19:17:17 -03:00
SET
3224a44173
Added test for decimal point locale support.
...
Hopefully works on docker ...
2020-08-13 16:59:12 -03:00
SET
1067f364c8
Added more cases for the RLC sort test
2020-08-13 12:42:16 -03:00
SET
9a0e2bdd24
Fixed flake8 small details
2020-08-12 20:09:58 -03:00
SET
7f45f022c7
Added tests for various HTML header layouts.
2020-08-12 19:13:41 -03:00
SET
951dbc510b
Fixed XLSX tests when no links.
2020-08-12 15:47:14 -03:00
SET
768d67d0ad
Added datasheet and digikey link tests for XLSX
2020-08-12 15:40:47 -03:00
SET
56c30f4227
Added test for "generate_dnf: false" for the XLSX
2020-08-12 14:35:27 -03:00
SET
88940119f6
Added test for XLSX header information.
...
Covering various situations, not all.
2020-08-12 12:05:40 -03:00
SET
0f4fa12f1f
Added "include_only" test.
2020-08-11 18:51:35 -03:00
Salvador E. Tropea
46c55fcf91
Separated the format specific options for internal BoM
...
And now we have more options.
- CVS: can quote all values.
- HTML and XLSX: styles adjust, including a logo.
- XLSX: now has the same options as HTML
Also a fix in the "join" mechanism for "case insensitive" support.
2020-08-05 19:57:32 -03:00
Salvador E. Tropea
6c26bd4ec6
Added test for the `html_generate_dnf` internal BoM.
2020-08-01 14:24:35 -03:00
Salvador E. Tropea
1cc71f2135
Fixed TestContextSCH class.
...
Now testing targets that only needs the SCH is simpler.
2020-08-01 13:14:17 -03:00
Salvador E. Tropea
5058af5038
Added tests for XML and XLSX internal BoM
2020-07-31 19:31:36 -03:00
Salvador E. Tropea
7d56b59ba4
Added simple CSV and HTML test for the internal BoM.
2020-07-31 14:06:54 -03:00
Salvador E. Tropea
ae47afa695
Reduced default verbosity for tests.
...
Using -vv can generate more than 170k when loading a couple of libs.
2020-07-31 11:56:21 -03:00
Salvador E. Tropea
544f34c6fc
Added native BoM generator.
...
Based on KiBoM, but reading the data directly from the .sch
Information from the libs not supported yet.
2020-07-27 22:04:01 -03:00
Salvador E. Tropea
3822a39671
Added _pos to all position formats in the ID field.
2020-07-12 18:59:50 -03:00
Salvador E. Tropea
031c69e27c
Added `position` output configuration.
2020-07-12 18:46:37 -03:00
Salvador E. Tropea
41de8c032c
Added `output` option to control the file name to all plot output formats.
2020-07-12 13:00:38 -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
0d9256fb24
The 'check_zone_fills' option is now independent of 'run_drc'
...
Implemented in a different way.
For all internal commands now we use Python bindings to fill the zones as
suggested by @arikrupnik in johnbeard/kiplot#11
For 'print_pcb' now we ask KiCad to do it before printing (needs v1.4.1)
2020-06-14 15:12:56 -03:00
Salvador E. Tropea
4101f69cd4
Added support for compressed YAML files.
2020-06-14 11:05:08 -03:00
Salvador E. Tropea
5883b1a616
Added test for command line -q (quite)
2020-05-26 14:22:58 -03:00
Salvador E. Tropea
21bc1f939e
Added test for missing PCB file in command line
2020-05-26 12:23:43 -03:00