Salvador E. Tropea
0b3891d942
Added tests for bogus 3D model and another shipped.
2021-02-03 11:12:24 -03:00
Salvador E. Tropea
56e5352164
Added test for var_rename filter without variant.
2021-02-03 10:40:12 -03:00
Salvador E. Tropea
370b5bdaf6
Added test for run_drc to the makefile test.
...
- Also test the schematic fallback for preflight deps.
2021-02-03 10:23:15 -03:00
Salvador E. Tropea
1ad91dbbd8
Excluded KiCad 6 code from coverage in gerber output.
2021-02-03 10:14:42 -03:00
Salvador E. Tropea
265bdac7c2
Added test for update_xml in makefile test.
2021-02-02 12:31:34 -03:00
Salvador E. Tropea
d8d0868784
Added test case for empty separator in var_rename filter.
2021-02-02 12:21:55 -03:00
Salvador E. Tropea
2bbbebf43a
Added test for schematic with company name in merged BoM tests.
2021-02-02 12:13:33 -03:00
Salvador E. Tropea
79fe05ed9f
Added makefile test for sch_variant case.
...
- Also avoided to repeat the same SCH dependency more than once.
2021-02-02 11:55:36 -03:00
Salvador E. Tropea
56fa06ef15
Added test for missing id in position columns.
...
Also excluded KiCad 6 code from out_position.
2021-02-02 11:17:09 -03:00
Salvador E. Tropea
ec273da57b
Removed dead code in log.py.
2021-02-02 10:56:46 -03:00
Salvador E. Tropea
82f5aa9a0b
Added makefile tests for schematic print (PDF and SVG)
2021-02-02 10:36:19 -03:00
Salvador E. Tropea
9943b82807
Removed KiCad 6 code from coverage.
2021-02-01 17:24:31 -03:00
Salvador E. Tropea
d5a31c6d87
Added tests for the missing lines in out_ibom.py.
2021-02-01 17:12:40 -03:00
Salvador E. Tropea
10f0706482
Exclude KiCad 6 code and enabled coverage for out_base tests.
2021-02-01 16:39:10 -03:00
Salvador E. Tropea
f7826a7667
Added tests to cover missing lines in out_pdf_pcb_print.py
2021-02-01 15:51:04 -03:00
Salvador E. Tropea
c67965c91b
Excluded KiCad 6 code in main from coverage.
2021-02-01 15:26:08 -03:00
Salvador E. Tropea
86f21ff08c
Fixed path to makefile test.
2021-02-01 15:06:30 -03:00
Salvador E. Tropea
8b459e85d5
Moved the plug-ins load to the coverage section in the tests.
...
So we get the re-load protection covered in the reports.
2021-02-01 14:54:13 -03:00
Salvador E. Tropea
e3766519ac
Added test for the warning about filenames with $.
2021-02-01 14:53:38 -03:00
Salvador E. Tropea
76db8a65e4
Removed KiCad 6 code from coverage.
2021-02-01 14:52:52 -03:00
Salvador E. Tropea
003fa15715
Support for mcpyrate macros deactivation.
2021-02-01 14:51:42 -03:00
Salvador E. Tropea
248ce56d35
Merge pull request #46 from INTI-CMNB/pytest6
...
Pytest 6 support
2021-02-01 11:49:21 -03:00
Salvador E. Tropea
755ec4aa76
Fixed test_yaml_errors, wasn't adapted to the new fixture.
2021-02-01 11:35:48 -03:00
Salvador E. Tropea
01131bfc64
Fixed flake8 issues (indentation and obsolete request)
2021-02-01 11:28:11 -03:00
Salvador E. Tropea
7413f12924
Added missing test file `tests/test_plot/fake_plugin/out_bogus.py`
2021-02-01 11:23:41 -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
af29f802c0
Switched from configfile.readfp to configfile.read_file for Python 3
2021-02-01 11:14:57 -03:00
Salvador E. Tropea
7bf0f90134
Updated mcpyrate.
...
The old one didn't work with Pytest 6.0.2.
2021-02-01 11:13:52 -03:00
Salvador E. Tropea
7422e9726c
Removed some "no cover" comments, clasified the rest
2021-02-01 08:53:24 -03:00
Salvador E. Tropea
8492786dcc
Trying to get better coverage report.
2021-01-29 15:50:53 -03:00
Salvador E. Tropea
b53ffbb032
Added Python cache creation before running the tests.
...
It looks like pytest is loading some modules without macros. The cache
gets created without them. But when we load the same modules with
macros it fails.
2021-01-29 15:27:52 -03:00
Salvador E. Tropea
d796abde2e
Separated some complex tests from the test_misc.
...
- Moved them test_misc_2
- Refined the tests in test_misc_2 to work together
2021-01-29 13:28:29 -03:00
Salvador E. Tropea
b271caf145
Added tests for no get_targets implementation and deps fallback.
2021-01-29 12:38:20 -03:00
Salvador E. Tropea
d9986b0599
Added PCBDraw case to the makefile test.
2021-01-29 12:22:31 -03:00
Salvador E. Tropea
55c988bb66
Added test for KiCad < 5.1.6
2021-01-29 12:15:46 -03:00
Salvador E. Tropea
e6163ae5aa
Added drill case to makefile test.
2021-01-29 11:54:09 -03:00
Salvador E. Tropea
adc181f1b2
Fixed drill dependencies generation.
2021-01-29 11:53:41 -03:00
Salvador E. Tropea
4466277bde
Added KiBoM case to the makefile test.
2021-01-29 11:24:51 -03:00
Salvador E. Tropea
f28b7a56b8
Changed the error about using external (unknown) names to a warning.
2021-01-29 11:23:46 -03:00
Salvador E. Tropea
2764e087e8
Fixed makefile generation of incomplete targets.
2021-01-29 11:23:09 -03:00
Salvador E. Tropea
c64fb3871c
Added test for STEP file in makefile
2021-01-29 10:37:05 -03:00
Salvador E. Tropea
d20d7e5d5c
Fixed STEP dependencies generation.
2021-01-29 10:36:33 -03:00
Salvador E. Tropea
54febcae44
Added comments and no target pre-flights to the makefile test.
2021-01-29 09:34:46 -03:00
Salvador E. Tropea
51aeb5be32
Added test for run_erc in makefile.
2021-01-29 09:27:02 -03:00
Salvador E. Tropea
0dbb180cb7
Fixed run_erc and run_drc makefile targets.
...
When the schematic and board aren't loaded.
2021-01-29 09:25:56 -03:00
Salvador E. Tropea
6965d73c4e
Added test for ibom in makefile
2021-01-29 09:07:17 -03:00
Salvador E. Tropea
f29c0c5361
Added more test for compress output.
2021-01-29 08:46:23 -03:00
Salvador E. Tropea
89eedf1d3b
Disabled rar error message test.
2021-01-28 17:47:42 -03:00
Salvador E. Tropea
37eefac973
Added tests for some ouyt_compress special cases.
...
- No rar
- rar fails
- rar file exists
- Empty output
2021-01-28 17:33:01 -03:00
Salvador E. Tropea
9a446c0a91
Added extra debug to one gerber test.
2021-01-28 15:51:10 -03:00