Salvador E. Tropea
48b1eafafc
Added test for debug stats in BoM output.
2021-02-03 12:49:57 -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
c4c33af680
Added some compress tests.
...
Covers zip, tr.bz2 and rar creation for internal BoM, position and
gerber files.
2021-01-27 16:12:46 -03:00
Salvador E. Tropea
01459ce85e
Added tests for merged BoMs for HTML, XML and XLSX formats.
2021-01-27 12:22:03 -03:00
Salvador E. Tropea
f279e7319e
Added test for a BoM from multiple projects.
2021-01-27 11:51:26 -03:00
Salvador E. Tropea
86b1c13790
Now information messages go to stdout (not stderr).
...
Debug, warning and error messages still use stderr.
2021-01-22 17:17:41 -03:00
Salvador E. Tropea
65833dc333
Internal BoM: The "Quantity" column no longer includes the DNF/C status.
...
- This status was moved to a separated column named `Status`.
- You can join both columns if you want.
Some people pointed out that adding characters to the qty column prevents
computations applied to the CSV files.
2021-01-12 15:21:34 -03:00
Salvador E. Tropea
9a1e1f39e7
Internal BoM: added `no_conflict` option.
...
Used to exclude fields from conflict detection.
2021-01-05 12:09:29 -03:00
Salvador E. Tropea
007fc36d1e
Fixed the components fields reset mechanism.
...
My previous approach was incomplete.
2020-12-23 18:47:11 -03:00
Salvador E. Tropea
9f8ecff5d1
Added support to rename fields matching the variant to value.
2020-12-23 12:11:39 -03:00
Salvador E. Tropea
204ad189de
Changed how variant field renamer is implemented.
...
- Now is a separated filter type (`var_rename`).
- Now all variants support a `pre_transform` filter list.
- An internal `_var_rename` filter is defined (default).
2020-12-23 10:19:23 -03:00
Salvador E. Tropea
986f0c7157
KiBoM variants: support to field overwrite according to variant
2020-12-18 15:39:58 -03:00
Salvador E. Tropea
351e734dd6
Fixed long line (flake8)
2020-12-09 13:02:51 -03:00
Salvador E. Tropea
1248e92b95
Fixed Internal BoM separator wasn't applied when using `use_alt`
...
From the SchrodingersGat/KiBoM#145 PR.
2020-11-11 14:32:20 -03:00
Salvador E. Tropea
adf6c7a5b1
Modified tests to keep kibom-variant_3.pro
2020-10-24 17:22:08 -03:00
Salvador E. Tropea
1aee407cb9
Fixed KiBom variants special cases.
...
When using multiple variants and a components used more than one,
specifying oposite rules.
2020-10-09 16:00:52 -03:00
Salvador E. Tropea
27e4c23236
Added support for reference separator in BoMs.
...
So you can get things like "R1, R2, R3"
From the following PR: SchrodingersGat/KiBoM#139
by @n0dyjeff
2020-09-19 17:35:31 -03:00
Salvador E. Tropea
257b9fdd3f
Added tests for global and command line variant selection.
2020-09-12 08:24:47 -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
9558f7cf45
Added test for rogue component in PCB.
2020-09-02 15:16:23 -03:00
Salvador E. Tropea
42562185ea
Added filter options using PCB attributes.
...
KiCad 6 will break this, we'll see how to adapt.
2020-09-02 14:48:26 -03:00
Salvador E. Tropea
e0de652105
Added more tests for the filters and variants.
2020-09-01 18:49:38 -03:00
Salvador E. Tropea
0f0aa71baa
Added more tests for the filters and variants
2020-08-30 11:55:35 -03:00
Salvador E. Tropea
c0a1867dd5
Added support for filters to the internal BoM generator.
...
- Now we can configure more details, like the DNC.
- We can also mix KiBoM and IBoM strategies.
- Adapted the test examples that used filtering.
2020-08-29 17:41:57 -03:00
Salvador E. Tropea
249caad348
Implemented the IBoM variants styles.
...
The core functionality is now tested in the internal BoM.
The IBoM output needs adjust to allow using the variants with it.
2020-08-28 20:12:21 -03:00
Salvador E. Tropea
0bdce78004
Implemented the new variants mechanism in the internal BoM.
2020-08-28 16:49:20 -03:00
Salvador E. Tropea
45fde666be
Added test for the warning about extra spaces in fields.
2020-08-27 18:04:22 -03:00
Salvador E. Tropea
140a45fdc6
Fixed variants BoM logic.
...
The variants logic for BoMs when a component resquested to be only
added to more than one variant.
This is related to SchrodingersGat/KiBoM#136 issue.
2020-08-24 10:53:56 -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
991f070e9f
Added variants test.
2020-08-15 20:33:09 -03:00
SET
9681064093
Fixed flake8 details
2020-08-15 11:06:45 -03:00
SET
90dee902ed
Added tests for various strange cases that shouldn't interfere
...
Partial annotations, deeper hierarchy, etc.
2020-08-15 10:25:18 -03:00
SET
b8b4c87f25
Added test for successful BoM generation even when missing libs.
2020-08-14 19:58:47 -03:00
SET
6ff4f59702
Added comment about misisng tests
2020-08-14 13:44:00 -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
86d9854a9b
Added test for URLs linked in HTML output.
2020-08-14 11:55:31 -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
87a1a97e9a
Added test for RLC normalization.
2020-08-13 22:46:53 -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
535949e159
Added test for explicit exclude_any regex
2020-08-12 20:10:34 -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
eef8041843
Better test for multiple digikey links
2020-08-12 17:56: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