Commit Graph

891 Commits

Author SHA1 Message Date
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
Salvador E. Tropea 8299ed5d96 Added tests for the new options to control protel extensions. 2021-01-28 15:38:19 -03:00
Salvador E. Tropea c31c2c17c2 Removed trailing spaces (flake8) 2021-01-28 15:37:44 -03:00
Salvador E. Tropea c6ad93dc78 Added clarification about the need of dot in edge_cut_extension option. 2021-01-28 15:37:28 -03:00
Salvador E. Tropea 84470bbc11 Added first makefile generation test 2021-01-28 12:43:01 -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 d422d380af Commented out unused code in ansi.py 2021-01-27 15:07:51 -03:00
Salvador E. Tropea eea93ea8ec Improved rotation filter coverage
- Check errors
- Try extra debug
2021-01-27 13:35:37 -03:00
Salvador E. Tropea bb5ab6119a Fixed extra NL at the end of file (flake8) 2021-01-27 13:34:52 -03:00
Salvador E. Tropea ce387ac423 Added test for missing colorama module. 2021-01-27 12:55:19 -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 2acc6c268d Fixed range reference generation for multiple projects 2021-01-27 11:50:10 -03:00
Salvador E. Tropea bb3b9c008b Sorted the `Source BoM` column 2021-01-27 11:48:19 -03:00
Salvador E. Tropea 409df8cca0 Fixed minimum KiCad version required is 5.1.6.
- KiCad 5.1.5 lacks GetBuildVersion()
- Fixes #45
2021-01-26 12:42:49 -03:00
Salvador E. Tropea 73cb98f113 Makefile generation. 2021-01-22 17:22:18 -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 eba8da098d Added more credits to the README 2021-01-21 14:54:42 -03:00
Salvador E. Tropea 15474ae4d7 Now you can consolidate more than one project in one BoM.
The basic idea comes from pimpmykicadbom by Anton Savov (@antto)
2021-01-21 14:43:47 -03:00
Salvador E. Tropea 66e342e36d Internal BoM: HTML rows are highlighted on hover (not just the cell). 2021-01-19 11:31:14 -03:00
Salvador E. Tropea f2d84a1a95 Internal BoM: HTML tables can be sorted selecting a column (Java Script). 2021-01-19 10:58:46 -03:00
Salvador E. Tropea 50f38ea71b We no longer need to plot the files to know the KiCad's name.
Much faster.
2021-01-18 17:23:27 -03:00
Salvador E. Tropea 88cd5927dc Now you can ask to compress the targets of an output (by out put name) 2021-01-18 16:12:30 -03:00