Commit Graph

1156 Commits

Author SHA1 Message Date
Salvador E. Tropea 5883b1a616 Added test for command line -q (quite) 2020-05-26 14:22:58 -03:00
Salvador E. Tropea ee6238a2ce Added test for iBoM without options. 2020-05-26 14:01:52 -03:00
Salvador E. Tropea 7b8aa57610 Added missing blank line and removed extra blank line at the end. 2020-05-26 14:01:11 -03:00
Salvador E. Tropea 979b3bc0d7 Added a test for missing output.layers 2020-05-26 13:52:04 -03:00
Salvador E. Tropea 103ef8b79e Fixed: Most formats that needed layers didn't complain when ommited 2020-05-26 13:50:38 -03:00
Salvador E. Tropea 8aaa07c867 Added test for missing output.options 2020-05-26 13:40:16 -03:00
Salvador E. Tropea e3cddb280a Added tests for missing output.name and output.type. 2020-05-26 13:36:49 -03:00
Salvador E. Tropea 1d85befd9b Added test for missing comment in output section 2020-05-26 13:31:08 -03:00
Salvador E. Tropea 31e461ca9c Added 3 tests for wrong layer names. 2020-05-26 13:27:49 -03:00
Salvador E. Tropea 4e14891979 Adde test for wrong drill map type 2020-05-26 13:09:16 -03:00
Salvador E. Tropea eb77e20f80 Added test for missing drill map type 2020-05-26 13:04:56 -03:00
Salvador E. Tropea 64de376c2b Added test for wrong version in config file. 2020-05-26 12:53:24 -03:00
Salvador E. Tropea 92df488ddb Added test for no kiplot.version in config. 2020-05-26 12:50:52 -03:00
Salvador E. Tropea bb6bae95a2 Excluded from coverage the fatal case case when python-yaml isn't installed. 2020-05-26 12:43:14 -03:00
Salvador E. Tropea 53be46e1fe Fixed the pragma in __main__ (typo) 2020-05-26 12:27:48 -03:00
Salvador E. Tropea 21bc1f939e Added test for missing PCB file in command line 2020-05-26 12:23:43 -03:00
Salvador E. Tropea 9672871ebe Excluded the module import main() exclusion from coverage 2020-05-26 12:23:01 -03:00
Salvador E. Tropea b429a81473 Added test for --list option 2020-05-26 12:12:18 -03:00
Salvador E. Tropea 92de025c96 Added test for wrong config file name 2020-05-26 12:05:35 -03:00
Salvador E. Tropea c41faba302 Added tests for guessing the board and YAML, also missing YAML 2020-05-26 12:02:16 -03:00
Salvador E. Tropea b5448739ee Added a test for missing PCB file 2020-05-25 20:28:35 -03:00
Salvador E. Tropea 0ed23a1642 Added a test to skip one output 2020-05-25 20:12:42 -03:00
Salvador E. Tropea 153d967015 Excluded an "internal error check" from coverage and commented why. 2020-05-25 20:01:31 -03:00
Salvador E. Tropea cc4d942111 Added a test for a bogus output type. 2020-05-25 20:00:59 -03:00
Salvador E. Tropea 5a23fe2b37 Added tests for various cases of --skip command line option. 2020-05-25 19:49:05 -03:00
Salvador E. Tropea 1dda835cc5 Removed some dead code about configurations.
_configure_plot_ctrl is called only for "layer" outputs, there is no
point trying to configure other formats.
Also some of the "configuration" were ridiculous calls with an assert
that only tested Python's sanity. Probably optimized out by python
compiler.
2020-05-25 19:23:11 -03:00
Salvador E. Tropea 9c6ee4f457 Added simple DXF test 2020-05-25 18:59:00 -03:00
Salvador E. Tropea 1672637742 Added simple test for plotting a PCB to PDF, 2020-05-25 18:55:11 -03:00
Salvador E. Tropea 2c38414617 Fixed test_print_pcb function name (was the same as SCH) 2020-05-25 18:53:12 -03:00
Salvador E. Tropea 8f929db896 Added simple HPGL test 2020-05-25 18:42:56 -03:00
Salvador E. Tropea e119732fb3 Added simple SVG test 2020-05-25 18:39:12 -03:00
Salvador E. Tropea 77b2d1e075 Added postscript test. 2020-05-25 18:32:11 -03:00
Salvador E. Tropea c22ccb607a Fixed: All pcbnew plot formats generated gerber job files 2020-05-25 18:31:31 -03:00
Salvador E. Tropea f7af290113 Added update_xml test 2020-05-20 11:34:47 -03:00
Salvador E. Tropea 128906a13d Added DRC test 2020-05-20 10:53:25 -03:00
Salvador E. Tropea d8e45554f4 Moved the .pro and fp-cache to the context clean_up 2020-05-20 10:52:42 -03:00
Salvador E. Tropea 367647724a Documented we are also testing CSV positions 2020-05-20 10:37:26 -03:00
Salvador E. Tropea cad997ae3d Added ERC test 2020-05-20 10:37:06 -03:00
Salvador E. Tropea b053017284 Tolerate config files without outputs 2020-05-20 10:36:28 -03:00
Salvador E. Tropea f7990ed112 Renamed python workflow job "build" to "test" 2020-05-20 10:34:49 -03:00
Salvador E. Tropea fb281889d7 Added tests for position in CSV format. 2020-05-20 10:13:38 -03:00
Salvador E. Tropea bb8d8a079a Added simple test for pdf_pcb_print 2020-05-20 09:25:43 -03:00
Salvador E. Tropea da94eb3f57 Excluded from coverage the test for pcbnew import 2020-05-20 09:24:59 -03:00
Salvador E. Tropea 1459f7255a Added both YAML examples to the Debian package 2020-05-20 09:07:09 -03:00
Salvador E. Tropea fcdbbbe92d Added another example of YAML config 2020-05-20 08:58:34 -03:00
Salvador E. Tropea f15632df6d Removed python3-setuptools and python3-pytest as build dependencies. 2020-05-19 12:19:26 -03:00
Salvador E. Tropea 84831cbdfc Bumped version to 0.2.4. 2020-05-19 12:14:06 -03:00
Salvador E. Tropea 26b4f5c385 Adapted to kicad-automation-scripts 1.3.x 2020-05-19 12:09:19 -03:00
Salvador E. Tropea 4a4126be47 Added Makefile target to run the tests using the docker image locally. 2020-05-19 12:08:18 -03:00
Salvador E. Tropea dbd47b0558 Added release workflow 2020-05-19 12:06:56 -03:00