Salvador E. Tropea
7c11370afd
Added tests for missing convert and/or rsvg-convert
2020-08-27 19:18:08 -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
3023035b75
Added tests for PcbDraw JPG and PNG outputs
2020-08-25 13:47:49 -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
1836e641e7
Added test to check we remove rogue cache files.
2020-08-19 11:42:12 -03:00
SET
422641a295
More robust behavior when the Python cache interferes.
...
Files using macros can't be cached. Now if we find caches for them we
try to delete the caches (pypi installation for example). If we can't
remove the files a warning is generated.
If we fail to load a plug-in an error explaining it is generated.
Also added a test to reproduce it.
2020-08-18 21:44:09 -03:00
SET
76193c9c93
Fixed plug-in test cases, used kiplot instead of kibot.
2020-08-18 21:37:17 -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
15dbf9cce3
Added test for the new SVG output
2020-08-16 17:32:40 -03:00
SET
bfa912b67f
Added test case for variants as an empty string.
2020-08-16 00:24:21 -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
a2b25ce23e
Added a comment about the test strategy in the config errors.
2020-08-15 20:33:30 -03:00
SET
991f070e9f
Added variants test.
2020-08-15 20:33:09 -03:00
SET
1a83f34de4
Added tests for fails and variants in the library path guess
...
Also switched all to pytest.monkeypatch to make it uniform.
2020-08-15 19:30:04 -03:00
SET
3cb7022902
Modified where I catch KiConfError
...
So coverage has a chance to record it
2020-08-15 18:34:21 -03:00
SET
a35f7a0d10
Switched to mock to patch the environment
2020-08-15 18:11:54 -03:00
SET
d2a443d52d
Fixed where we catch KiConfError during test
2020-08-15 17:56:48 -03:00
SET
c0c3302645
Added tests for broken sym-lib-table.
2020-08-15 17:37:50 -03:00
SET
0908a6b599
Added more tests for KiCad config.
...
No HOME environment variable, guess lib path, determine lib path
from env.
2020-08-15 16:13:10 -03:00
SET
e29c7b2a93
Fixed tests adding to sys.path unconditionally
2020-08-15 15:25:02 -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
d277bbbc0b
Added test for no KiConf instances and loading config from env
...
Also moved the KiCad config tests to a separated file.
2020-08-15 13:41:29 -03:00
SET
487021357b
Added tests for errors in the sym-lib-table
2020-08-15 12:42:07 -03:00
SET
9681064093
Fixed flake8 details
2020-08-15 11:06:45 -03:00
SET
8ede3089de
Fixed test with 2 LIBS entries.
...
Only one is valid.
2020-08-15 10:32:31 -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
cd8b88124e
Made the extra verbose tests more verborragic.
2020-08-14 19:58:00 -03:00
SET
09b7ed5eca
Added tests for title block errors.
2020-08-14 19:26:39 -03:00
SET
76ed259053
Moved the error tests to a separated directory.
...
They are too much.
Also simplified the test code.
2020-08-14 19:15:50 -03:00
SET
fa706c0083
Added tests for sub-sheets instantation
2020-08-14 18:59:20 -03:00
SET
c15e971da2
Added tests for errors in the SCH bitmap element.
2020-08-14 18:41:12 -03:00
SET
a30bddc3ce
Added tests for errors in no/connections, entries and wires.
2020-08-14 18:18:55 -03:00
SET
a1255590e2
Added test for various errors in the component instantiation.
2020-08-14 18:02:32 -03:00
SET
6258b79023
Added test for errors in AR and basic fields.
2020-08-14 17:29:18 -03:00
SET
844b678ace
Added test for errors in component labels.
2020-08-14 16:53:50 -03:00
SET
916aacafd6
Added more tests for the DCM and LIB errors.
2020-08-14 16:43:09 -03:00
SET
5d3cefe6ce
Added tests for errors in library components.
2020-08-14 16:25:16 -03:00
SET
1767e66220
Added tests for errors in the libraries components fields
2020-08-14 15:58:00 -03:00
SET
4f5f8d4187
Added tests for truncated libs and dcms
2020-08-14 14:14:19 -03:00
SET
177ee7e627
Added tests for SCH errors.
2020-08-14 13:47:23 -03:00
SET
6ff4f59702
Added comment about misisng tests
2020-08-14 13:44:00 -03:00
SET
8616fa811d
Updated the gitignore files.
2020-08-14 13:12:01 -03:00
SET
767bb4d4c6
Added style tests for HTML.
2020-08-14 13:06:27 -03:00
SET
437489acca
Fixed missing style for the HTML test
2020-08-14 13:06:03 -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