Commit Graph

513 Commits

Author SHA1 Message Date
Salvador E. Tropea b78b943ff6 [Test] Added gs_downloader test 2022-07-08 11:57:30 -03:00
Salvador E. Tropea 6248803252 [Test] More robust dep_python test
- Ensure the test module isn't installed before testing
2022-07-08 11:51:15 -03:00
Salvador E. Tropea 120220b986 [Test] Workaround for importlib crazy behavior
- I can't call pip to install in a specified dir and then import
  using importlib. It always fail, even when the module is installed
  and its path is in sys.path. Couldn't find why.
2022-07-08 10:57:03 -03:00
Salvador E. Tropea d6aa9b2446 [Test] Added test for python_downloader 2022-07-08 10:19:34 -03:00
Salvador E. Tropea 293facda76 [Test] Enabled dep_pytool test now that we can run it on CI/CD 2022-07-08 07:52:38 -03:00
Salvador E. Tropea e72fe1d897 Added tests for various downloaders
- rsvg
- git
- convert
- Also disabled the one for pytool because it needs adjusts
  to work as root.
2022-07-07 20:09:20 -03:00
Salvador E. Tropea 069d9ba690 Added pytool_downloader test 2022-07-07 19:08:06 -03:00
Salvador E. Tropea 941185d635 Added a test for rar_downloader 2022-07-06 19:15:56 -03:00
Salvador E. Tropea 56f5176060 Fixed problems when running tests and a copy of KiBot is in ~/.local 2022-07-06 19:14:58 -03:00
Salvador E. Tropea 420757880f Adapted the tests for missing tools to the new mechanism 2022-07-05 13:49:01 -03:00
Salvador E. Tropea 0a8481dadf Now the dependencies are YAML specs in docstrings
- They document the dependencies and constructs them
2022-07-05 12:43:49 -03:00
Salvador E. Tropea c5f55d39bb Removed test_check_scripts, no longer used 2022-06-30 13:58:08 -03:00
Salvador E. Tropea e00b6b3f23 Removed unused functions
- check_script
- check_eeschema_do
- Now all the code uses dep_download stuff
2022-06-30 13:11:02 -03:00
Salvador E. Tropea 29afcdd453 Fixed problems with the test_ibom_parse_fail test
- Needs to avoid iBoM using X server
- Python 3.7 optional parameter to the mocked function wasn't implemented
2022-06-30 11:38:22 -03:00
Salvador E. Tropea 59d6d2caac [Dependencies] Added auto-download for iBoM 2022-06-30 10:03:26 -03:00
Salvador E. Tropea e88e2730da Made the test for missing pcbdraw components more robust
- Avoid downloading the tool
- Avoid using a downloaded copy
2022-06-19 20:13:55 -03:00
Salvador E. Tropea 65d4143ec1 Now we try to download some tools when missing
- Currently only a few targets are available
- Rar, ImageMagick, RSVG Tools and git have some support
2022-06-19 19:17:38 -03:00
Salvador E. Tropea ff109a02ec Added test for category image in navigate results 2022-06-14 07:06:59 -03:00
Salvador E. Tropea 486fabd321 Added merge and translate field tests for KiCost 2022-06-13 11:18:33 -03:00
Salvador E. Tropea e6cfe15dd0 PDFUnite: added warnings and errors about missing input files
- Also simplified the create_pdf.py error handling.
  - We are not catching I/O errors, they are fatal and should be
    catched at a higher level.
  - We already check the input files and create the output dir.
- Added tests
2022-06-13 08:56:25 -03:00
Salvador E. Tropea a3811537b8 Fixed svg_pcb_print: page orientation for portrait. 2022-06-12 16:07:58 -03:00
Salvador E. Tropea 06bb47ea05 pcb_print: fixed frame page orientation in GUI mode. 2022-06-12 15:37:00 -03:00
Salvador E. Tropea 72a2c71ddb Added test for PCB paper size stuff 2022-06-12 12:17:23 -03:00
Salvador E. Tropea 35c7286229 Added test for gloabl environment vars 2022-06-12 11:30:44 -03:00
Salvador E. Tropea e0fa00f68b Added pdfunite test with source and external tool 2022-06-12 10:27:29 -03:00
Salvador E. Tropea e6b98bd5aa More test simplifications 2022-06-10 21:09:34 -03:00
Salvador E. Tropea 3a5042ea96 Simplified the tests 2022-06-10 19:55:13 -03:00
Salvador E. Tropea aefe54d770 Fixed missing argument in test_date_format_2 2022-06-10 17:39:24 -03:00
Salvador E. Tropea e15f18de2c Simplified the tests initialization
- Now output dirs are named after the test function
2022-06-10 14:01:56 -03:00
Salvador E. Tropea 1b2616b19f Added simnple test for Specs (XLSX BoM) 2022-06-10 12:46:59 -03:00
Salvador E. Tropea 358b7f4e44 Added more pcb_print tests 2022-06-10 11:28:33 -03:00
Salvador E. Tropea 0583befe6a Adapted tests to the new drill_marks validation
- Also removed the setter helper, no longer needed as validation is
  done by Optionable
2022-06-10 08:47:58 -03:00
Salvador E. Tropea b57a29ddee Added more pc_print test cases 2022-06-10 07:55:07 -03:00
Salvador E. Tropea d91e98a495 Added simple test for monochrome print 2022-06-09 13:53:58 -03:00
Salvador E. Tropea 9a090012a6 Added more options to test pcb_print features 2022-06-09 13:01:25 -03:00
Salvador E. Tropea 7776e4cdaf Added simple SVG print test 2022-06-09 11:42:35 -03:00
Salvador E. Tropea f1e7691a75 Added simple dependencies test 2022-06-09 10:56:36 -03:00
Salvador E. Tropea 0b8c4f1726 Added simple navigate_results test 2022-06-09 10:36:39 -03:00
Salvador E. Tropea baad162199 Added simple tests for netlist output (classic and IPC) 2022-06-08 13:48:34 -03:00
Salvador E. Tropea 0227730e45 Added simple test for --quick-start 2022-06-08 13:29:37 -03:00
Salvador E. Tropea d93d70541c Better KiCad v6 environment variables handling
- more variables detected (KICAD6_3RDPARTY, KICAD_USER_TEMPLATE_DIR)
- native KiCad 6 names (KICAD6_* instead of KICAD_*)
- all exported to the environment, not just the core

Fixes #205
2022-05-30 13:00:23 -03:00
Salvador E. Tropea bb6e962f3d Internal BoM: Added customizable extra info after the title
Closes #199
2022-05-20 19:08:20 -03:00
Salvador E. Tropea 5bcedf4c7a Fixed: missing adapted test in last commit 2022-05-20 07:56:20 -03:00
Salvador E. Tropea 23e632303d Fixed problems with KiCost using internal variants
- The XML didn't remove `variant` field properly (lack of lower)
- THe XML didn't support UTF-8
2022-05-18 15:59:38 -03:00
Salvador E. Tropea 54e94a5298 Adapted filter test to the new `regex` policy
- No longer an error skipping it
2022-04-28 14:32:28 -03:00
Salvador E. Tropea 477c52affe Made __main__ show the same file names of detected files
- Also adapted the tests that looks for debug data about them
2022-04-26 12:15:34 -03:00
Salvador E. Tropea 3d8e842323 Fixed test_pcbdraw_variant_3 output dir 2022-04-08 15:00:03 -03:00
Salvador E. Tropea b48a9e5ab0 Fixed (KiCad 6) traces not visible in 3D render
Fixes #177
2022-04-07 15:44:22 -03:00
Salvador E. Tropea 8627547bc8 Added regression test for #178 2022-04-07 13:35:12 -03:00
Salvador E. Tropea 9e1f645c31 Fixed problems when using page layout files with relative paths.
Fixes #174
2022-04-04 18:02:31 -03:00