Commit Graph

234 Commits

Author SHA1 Message Date
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
Salvador E. Tropea e81981db56 Added a test for print_sch 2020-05-19 11:40:55 -03:00
Salvador E. Tropea c22b4862ca Updated the changelog 2020-05-19 11:40:24 -03:00
Salvador E. Tropea bcfaead5f1 Fixed: for print_sch, when the PCB name included a path, it wasn't removed and the
output pointed to a mix of both paths, failing.
2020-05-19 11:37:51 -03:00
Salvador E. Tropea 02cdeac2f4 Added test for InteractiveHtmlBom 2020-05-15 10:59:46 -03:00
Salvador E. Tropea 86a08d389a Fixed comments in test_bom.py (were the ones from drill) 2020-05-15 10:58:51 -03:00
Salvador E. Tropea d8daa8b4e7 Added small test for KiBoM files 2020-05-15 10:40:29 -03:00
Salvador E. Tropea 1e4440670c Removed dead code in test_drill.py 2020-05-15 10:39:31 -03:00
Salvador E. Tropea 1128a251b2 Added a changelog with changes for this fork 2020-05-15 10:38:48 -03:00
Salvador E. Tropea da09a617c4 Problems for kibom output when the PCB name included a path 2020-05-15 10:38:26 -03:00
Salvador E. Tropea 92331789fd Changed workflow trigger 2020-05-15 09:14:56 -03:00
Salvador E. Tropea 8ccc93cbb2 Changed workflow trigger 2020-05-15 09:12:18 -03:00
Salvador E. Tropea 357f3073eb Why isn't triggered 2020-05-15 09:09:30 -03:00
Salvador E. Tropea a0b647be69 Documented what test_drill.py tests 2020-05-15 09:07:00 -03:00
Salvador E. Tropea 74d10fc8fe Added coverage and artifact upload to the test workflow 2020-05-15 09:02:58 -03:00
Salvador E. Tropea 6873652433 Added a simple test for drills 2020-05-14 19:50:04 -03:00
Salvador E. Tropea d500178c24 Recoded all the tests. I used the class I wrote for kicad-automation-scripts.
Now the tests are simpler, I also suitched to test the application from "outside"
because I was having some ridiculous fails.
Also added coverage meassurement, which is currently pathetic.
2020-05-14 13:11:31 -03:00
Salvador E. Tropea 450b0ab671 Added test and test_local targets to the Makefile. 2020-05-14 09:43:48 -03:00
Salvador E. Tropea a58d99325a Added assert for the pcbnew initialization. Also made some debug messages more clear.
I'm getting errors when the test is done using --plot_dir
2020-05-14 09:41:18 -03:00
Salvador E. Tropea e9a17d351c Fixed pytest name for Debian (pytest-3) 2020-04-28 18:32:27 -03:00
Salvador E. Tropea e18b9cea81 Trying to run tests on kicad_auto_test image 2020-04-28 18:30:27 -03:00
Salvador E. Tropea ba22eae5b8 Tunned flake8 and removed all unfiltered warnings and errors 2020-04-28 17:56:50 -03:00
Salvador E. Tropea bf0aae66dd
Python tests from GitHub example
Just what GitHub propose
2020-04-28 17:08:28 -03:00