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
Salvador E. Tropea
bb0f86ae61
Fixed KiCad 6 text variables not expanded in `render_3d` output
...
- We must copy the project file to the temporal dir
Fixes #173
2022-04-02 12:14:56 -03:00
Salvador E. Tropea
dad1f91439
Added: text vars expansion for 3D model paths
...
Closes #172
2022-03-31 14:58:39 -03:00
Salvador E. Tropea
3c13ae1ccb
Added KiCad 6 color themes to PDF/SVG PCB Print
2022-03-28 15:37:52 -03:00
Salvador E. Tropea
5940e7bcd6
Fixed missing BoardViewOptions.get_targets
...
Fixes #167
2022-03-24 14:05:48 -03:00
Salvador E. Tropea
7e2e844a4b
Added a preflight option to save the PCB with refilled zones.
...
Closes #165
2022-03-24 13:30:18 -03:00
Salvador E. Tropea
b5d5bea324
Made more clear which preflight options modifies files
...
- Also unified to "preflight" (more common than pre-flight)
Related to #165
2022-03-24 13:08:51 -03:00
Salvador E. Tropea
788b7d6b83
Added support for buried/blind vias to the drill outputs
...
Fixes #166
2022-03-24 12:57:08 -03:00
Salvador E. Tropea
beee95ce31
Merged the kicost_dk branch:
...
- New internal BoM XLSX options to control KiCost:
- Dis/Enable APIs
- Add a description column
- Specs worksheet generation
- Which spec columns
- Specify a KiCost config file
- Passed debug level to KiCost
- Added support for KiCost log style to our logger
2022-03-24 09:47:47 -03:00
Salvador E. Tropea
688d637f6c
Added regression test for #164
2022-03-17 18:40:25 -03:00
Salvador E. Tropea
e4eb2c14cd
Adjusted the report tests for KiCad 5.
...
- Some unknown inconsistency in the API.
2022-03-17 18:27:00 -03:00
Salvador E. Tropea
6b6d22afa8
Added report conversion using pandoc
2022-03-17 12:13:51 -03:00
Salvador E. Tropea
9d7aae8d64
Fixed test_erc_warning_2 output dir
2022-03-15 20:27:28 -03:00
Salvador E. Tropea
342fb40c59
Added text variable replace in the title block items
...
- There are some limitations inm the depth of vars + %X usage
Closes #162
2022-03-13 15:18:44 -03:00
Salvador E. Tropea
82aac838d5
Catched error of using set_text_variables with KiCad 5
2022-03-12 19:10:35 -03:00
Salvador E. Tropea
2d86f9516d
Added %X expansion to the set_text_variables
2022-03-12 18:56:15 -03:00
Salvador E. Tropea
1824d56876
Added a preflight to define KiCad 6 variables.
...
Closes #161
2022-03-12 18:44:08 -03:00
Salvador E. Tropea
cb47cf3042
New output to export PCB in GENCAD format.
...
Closes #159
2022-03-08 15:55:34 -03:00
Salvador E. Tropea
86aa7b6357
New preflight to annotate according to PCB coordinates
...
Related to #93
2022-03-08 14:33:38 -03:00
Salvador E. Tropea
780fc25b26
Enabled render_3d output for KiCad 6 now KiCad bug is fixed.
2022-03-08 12:06:49 -03:00
Salvador E. Tropea
0c0c6ffd62
New output to join PDFs.
...
Closes #156
2022-03-03 16:13:00 -03:00
Salvador E. Tropea
49962cafb8
Added some basic layer and schematic inclusion in reports.
...
- Related to #93
2022-03-02 18:17:42 -03:00
Salvador E. Tropea
27c987217c
New preflight to annotate power components
...
Closes #76
2022-02-26 13:21:40 -03:00
Salvador E. Tropea
e46b5ff767
Fixed the test_old_pcbnew test
...
- Failing locally, not GitHub
2022-02-24 12:03:25 -03:00
Salvador E. Tropea
338a0cc3d4
Fixed B007 Loop control variable 'i' not used within the loop body.
2022-02-17 19:10:47 -03:00
Salvador E. Tropea
c3b229ba0c
Fixed D300 Use """triple double quotes"""
2022-02-17 18:47:27 -03:00
Salvador E. Tropea
f26ab6ede8
Fixed B006 Do not use mutable data structures for argument defaults.
2022-02-17 16:45:10 -03:00
Salvador E. Tropea
15b2075c96
Fixed B011 Do not call assert False
2022-02-17 16:37:01 -03:00
Salvador E. Tropea
c8d131fe11
Fixed C416 Unnecessary list comprehension - rewrite using list().
2022-02-17 16:32:16 -03:00
Salvador E. Tropea
6281a40335
Fixed spelling
2022-02-16 19:56:04 -03:00
Salvador E. Tropea
1e26bc0d04
Added missing shebangs
2022-02-16 17:37:28 -03:00
Salvador E. Tropea
aa48cc3187
Forced files to end in a single new line
2022-02-16 17:34:34 -03:00
Salvador E. Tropea
ccbb8a6060
Adapted two tests to the new details
...
- New pcbnew import in gs.py
- New return value for _get_columns()
2022-02-14 14:49:16 -03:00
Salvador E. Tropea
5d2d0a4195
Added MacroFab XYRS support
...
- Internal BoM options:
- `angle_positive`
- `csv.hide_header`
- `footprint_populate_values`
- `footprint_type_values`
- `units` mils
- Columns:
- `Footprint Type`
- `Footprint Populate`
- `Footprint X-Size`
- `Footprint Y-Size`
2022-02-14 13:49:56 -03:00
Salvador E. Tropea
edbe29740b
Internal BoM: XYRS support
...
- Now the `bom` output can generate files like `position`
2022-02-11 11:45:43 -03:00
Salvador E. Tropea
db6cf3dace
Added Board View test
2022-02-07 13:27:56 -03:00
Salvador E. Tropea
d1f6b28afa
Fixed test_kicad_conf_local_conf
...
- Now supports nightly cases
2022-01-29 16:38:50 -03:00
Salvador E. Tropea
400d06f9b3
Adjusted error messages and crossed comp generation.
...
- Also the name of the member for lib_name
2022-01-29 16:16:39 -03:00
Salvador E. Tropea
6b482695fb
Avoid loosing light_control project during tests
2022-01-16 11:11:22 -03:00
Salvador E. Tropea
52df7e85b3
Fixed missing project for light control
...
- In KiCad 6 some importants settings were moved to the project.
I.e. the clearance
2022-01-16 01:02:18 -03:00
Salvador E. Tropea
278de8fb16
Added report generation (for design house)
...
Related to #93
2022-01-15 15:47:48 -03:00
Salvador E. Tropea
24ba23d203
Separated YAML tests that makes reference to SCH files
...
- Avoiding KiCad 5 and 6 mixes
2022-01-10 20:48:11 -03:00
Salvador E. Tropea
8a4064a544
Added KiCad 6 native symbols default dir
2022-01-07 17:49:33 -03:00
Salvador E. Tropea
960f5565f0
Fixed modules load order in kiconf_init.py
...
- Previous seems to fail in some environments
2022-01-07 17:33:57 -03:00
Salvador E. Tropea
ed6733a8b8
Adapted the KiCad config error tests to KiCad 6.
2022-01-07 17:07:00 -03:00
Salvador E. Tropea
0b58424f57
Fixed test_print_sch_svg_fail test for KiCad 6 (used .sch)
2022-01-07 13:04:45 -03:00
Salvador E. Tropea
792572149b
Updated test_bom_ok
...
- The XML netlist was out of sync.
2022-01-07 12:58:09 -03:00
Salvador E. Tropea
e2147f40ee
Added fields update to the QR stuff
...
- Footprints are now virtual
- Fixed: Modules used the SCH text
- Fixed: Wrong KiCad 6 SCHs (not copied from bogus ones)
2022-01-06 14:25:09 -03:00
Salvador E. Tropea
be59ee397e
Added support for KiCad 6 to the `update_qr` preflight.
...
Related to #93
2022-01-04 16:52:12 -03:00
Salvador E. Tropea
7992fd9888
Added preflight option to update the QR codes.
...
- Needed for s-expression files
- Not working for KiCad 6 (bug in the Python API)
2022-01-04 10:21:59 -03:00
Salvador E. Tropea
d0801d1e5d
Fixed test_qr_lib_1
...
- Problems when running without X
- KiCad 5 vs 6 details
2022-01-03 12:55:26 -03:00
Salvador E. Tropea
5017f7e078
Added QR codes generation: symbols and footprints.
...
Related to #93
2022-01-03 12:35:33 -03:00
Salvador E. Tropea
64bfc4824d
Added `--cli-order` option to generate outputs in arbitrary order.
...
- Also updated some output details in the README
Related to #106
2021-12-31 10:40:17 -03:00
Salvador E. Tropea
6d939bbdbe
Added datasheets downloader
...
Closes #119
2021-12-29 15:20:54 -03:00
Salvador E. Tropea
358fb4f816
Added message about problems with 3D Viewer on KiCad 6.0.0.
2021-12-28 18:04:20 -03:00
Salvador E. Tropea
1c3cc13004
Fixed flake8 errors
2021-12-28 18:04:04 -03:00
Salvador E. Tropea
057f8688da
Added support for STEP generation using KiCad 6
...
- Uses a new KiAuto release (1.6.0) to workaround KiCad 6 limitation
- Updated the tests
- Updated the board samples, another "limitation" in KiCad 6 (no longer
looks for .step files when the model is a .wrl)
2021-12-28 17:44:36 -03:00
Salvador E. Tropea
18272f8e06
Adjusted fuzzyness for the PcbDraw tests (v0.9.0 needs it)
2021-12-28 10:38:47 -03:00
Salvador E. Tropea
54332a8630
Added suypport for KiCad 6 sch extension to makefile tests
2021-12-27 15:21:41 -03:00
Salvador E. Tropea
a72aac4e54
Added support for iBoM 2.4.1
2021-12-27 14:13:12 -03:00
Salvador E. Tropea
115c8b6913
Adapted YAML and SCH error tests to KiCad 6 RC1
...
- Most SCH test are disabled because this is another parser.
2021-12-27 14:10:02 -03:00
Diego Capusotto
3c4c2f0e15
Adapted the test_print_sch.py tests to KiCad v6
2021-12-21 13:07:02 -03:00
Diego Capusotto
1b7d42397e
Adapted the test_preflight tests to KiCad 6
2021-12-18 17:02:41 -03:00
Diego Capusotto
d989857ac7
Removed temporal project left by out_step
...
Closes #124
2021-12-18 11:11:55 -03:00
Diego Capusotto
dbf3776a94
Added more information when a position test fails
...
- Now we also compare using % 360 for angles
2021-12-17 18:21:20 -03:00
Diego Capusotto
0795b2d8f3
Adapted test_misc_2.py to v6 details
2021-12-17 17:22:18 -03:00
Diego Capusotto
915412c426
Adapted force_pcbnew_error.py to support KiCad nightly
2021-12-17 17:21:32 -03:00
Diego Capusotto
e70172c83f
Skipped `test_int_bom_missing_lib` test for v6
...
- Schematics are self-cointained now, there is no point in checking
libs
2021-12-17 15:44:53 -03:00
Diego Capusotto
5cf60b0361
Fixed config tests
...
- The initialization in out_base forced the need of logger reset
2021-12-17 13:34:15 -03:00
Diego Capusotto
927ed3c99e
Fixed flake8 details
2021-12-17 12:55:33 -03:00
Diego Capusotto
14e0a90dce
KiCad v6: test_gerber.py adpted to the new layer names
2021-12-17 12:45:44 -03:00
Diego Capusotto
c3b987eb6f
Adjusted tests to the l1.dcm addition
2021-12-17 10:30:13 -03:00
Diego Capusotto
3eb82bc86d
Changed: The `%d/%sd/%bd` expansion patterns are now affected by the global `date_format`.
...
- Can be disabled using `date_reformat: false`.
- Related to #121
2021-12-15 17:15:49 -03:00
Diego Capusotto
4f5b4c0619
Adapted the test_filter_not_list to the new error message
...
- Now we don't use a plural for one option.
2021-12-15 11:17:45 -03:00
Diego Capusotto
318f0993bf
Now `disable_run_by_default` can be defined as true
...
- To avoid repeating the name of the parent output
- Related to #121
2021-12-14 20:44:37 -03:00
Diego Capusotto
71c7150baa
Added support for \n and \t to text* options of join
...
Related to #108
2021-12-14 17:45:10 -03:00
Diego Capusotto
e2599731f7
Added `output_id` output option to be expanded by %I
2021-12-14 16:19:49 -03:00
Salvador E. Tropea
a82f130ad9
Now you can compress files relative to the current working directory.
...
Related to #93
2021-12-03 19:30:11 -03:00
Salvador E. Tropea
50783087a1
Fixed wrong variable in test assert
2021-12-03 17:52:16 -03:00
Salvador E. Tropea
6a691cf362
Added pre-flight to replace in the PCB
...
- Also added some constrains to what can be substituted to avoid
corrupting the files.
2021-12-03 16:52:04 -03:00
Salvador E. Tropea
6e0a98e6d2
Removed unused import
2021-12-03 15:29:01 -03:00
Salvador E. Tropea
9cd2581582
Added new pre-flight command to replace tags in the schematic.
...
Related to #93 , but also an old idea floating around.
2021-12-03 14:37:53 -03:00
Salvador E. Tropea
9e4adf5286
Added patterns to expand the title blck comments.
...
Related to #93
2021-12-03 10:13:42 -03:00
Salvador E. Tropea
70fb334856
A mechanism to avoid running some outputs by default.
...
Related to #112
2021-12-02 18:47:40 -03:00
Salvador E. Tropea
a430916a4a
Now you get an error when defining two outputs with the same name.
2021-12-02 14:58:37 -03:00
Salvador E. Tropea
b9cb24c325
Now you get an error when defining two outputs with the same name.
2021-12-02 13:21:57 -03:00
Salvador E. Tropea
6392124f9f
Added import for globals.
2021-12-02 10:33:19 -03:00
Salvador E. Tropea
5291af250c
Adapted the pre-flight test to the new output format.
2021-12-01 19:45:11 -03:00
Salvador E. Tropea
995219a8ea
Added option to add text to the `join` in the internal BoM
...
Related to #104
2021-12-01 18:07:41 -03:00
Salvador E. Tropea
130f7b25a3
Fixed tests that now needs to initialize global defaults.
2021-12-01 15:55:38 -03:00
Salvador E. Tropea
49ea1bb62a
Internal BoM: `count_smd_tht` option to compute SMD/THT stats.
...
Closes #113
2021-11-22 14:34:07 -03:00
Salvador E. Tropea
1bb8a56209
Added a small test for the render_3d output.
...
- I used it to reproduce the temporal project generation.
2021-11-18 13:55:08 -03:00
Salvador E. Tropea
5620113b49
Fixed command line for `--list`
...
- PCB and SCH can be needed
- Adapted the test for --list
2021-11-15 13:38:35 -03:00
Salvador E. Tropea
4846a4672e
More adjusts to tests because new warning
2021-10-14 14:57:24 -03:00
Salvador E. Tropea
ab3bd7f0b3
Added a mechanism to import filters and variants.
...
- Also to restrict which outputs are imported.
- Fixes #88
2021-10-04 14:44:43 -03:00
Salvador E. Tropea
a31002ed01
Fixes position files, now defaults to use the auxiliar origin as KiCad.
...
Can be disabled to use absolute coordinates.
Fixes #87
2021-09-27 08:35:58 -03:00
Salvador E. Tropea
3bdae8507a
Added suppport for multiprojects to the internal KiCost.
...
- Also changes the KitSpace queries format to be more readable.
2021-05-25 18:02:22 -03:00
Salvador E. Tropea
3255891ed0
Added comments to KiCost tests
2021-05-11 12:33:24 -03:00
Salvador E. Tropea
7c23381adb
Added distributors selection to KiCost+KiBot
2021-04-28 12:13:12 -03:00
Salvador E. Tropea
f27dc68e4f
Refined what is filtered from the CSV comparisson in KiCost tests
2021-04-25 11:16:40 -03:00
Salvador E. Tropea
1878510a47
Adapted test_kicost_simple references.
2021-04-25 10:28:56 -03:00
Salvador E. Tropea
55277a550f
More KiCost integration in KiBoM.
...
- Also added level and comment to columns in the XLSX BoM output.
- Now user columns can be added to the KiCost sheet.
- The "Colors" sheet now includes KiCost colors
- The KiCost column names are more coherent with our names
- Style colors affects the KiCost colors
- About message includes KiBot version
- Header layout is also more coherent
- use_alt, number, max_col_width and ref_separator options are passed
to KiCost
2021-04-25 09:29:56 -03:00
Salvador E. Tropea
16ddb9465f
Added Internal BoM + KiCost integration
...
- Currently very basic, but you get "Costs" and "Costs (DNF)" work
sheets in the XLSX output when the xlsx.kicost option is enabled.
2021-04-15 11:14:37 -03:00
Salvador E. Tropea
7961209b0f
Experimental mechanism to change 3D models according to the variant.
2021-03-31 18:00:43 -03:00
Salvador E. Tropea
7c3f273684
Basic KiCost support.
2021-03-31 12:27:55 -03:00
Salvador E. Tropea
1290bb6995
New KiCost variant style.
...
- New internal filters `_var_rename_kicost` and `_kicost_dnp`.
- New `skip_if_no_field` and `invert` options to the regex used in the
generic filter.
2021-03-30 09:37:36 -03:00
Salvador E. Tropea
afe80052b4
Added a new filter `var_rename_kicost`
...
Is very similar to `var_rename` with a few differences that makes it
suitable to emulate the KiCost field rename mechanism.
2021-03-25 12:57:26 -03:00
Salvador E. Tropea
01291ebe63
Added field rename filter.
...
Including an internal version to emulate KiCost behavior.
2021-03-23 13:20:26 -03:00
Salvador E. Tropea
40bd7c24f2
Added support for KiCost's subparts
2021-03-19 19:41:46 -03:00
Salvador E. Tropea
1b48e614a7
Added pattern expansion in the `dir` option for outputs
...
Closes #58
2021-03-12 21:14:39 -03:00
Salvador E. Tropea
eab8550c11
Fixed makefiles tests.
...
Introduced by 4f73de1157
2021-03-12 15:05:24 -03:00
Salvador E. Tropea
5560c62d14
Errors and warnings from KiAuto now are printed as is.
2021-02-24 12:58:47 -03:00
Salvador E. Tropea
8fba0d9909
Added `erc_warnings` option to consider ERC warnings as errors.
2021-02-24 12:34:49 -03:00
Salvador E. Tropea
32310ba1fa
Added test for makefile generation running the script from system.
2021-02-12 14:56:51 -03:00
Salvador E. Tropea
ab8d3b4823
Added test for layer without _id (str convertion)
2021-02-12 14:37:14 -03:00
Salvador E. Tropea
6a5c082ab7
Added test for suffix with UTF-8
2021-02-12 14:31:24 -03:00
Salvador E. Tropea
85c5db268e
Added comments about caplog bugs in the pytest using for the docker image.
2021-02-12 14:30:35 -03:00
Salvador E. Tropea
c1499479dc
Removing part of test_search_as_plugin_ok
...
The caplog is failing on github docker image for this test.
2021-02-12 13:29:56 -03:00
Salvador E. Tropea
d5a1df9eb7
Modified test suite to collect the error in test_search_as_plugin_ok
2021-02-12 13:10:22 -03:00
Salvador E. Tropea
61855a2d8c
Added tests for debug details in generated makefiles.
2021-02-12 12:30:20 -03:00
Salvador E. Tropea
a49d4e45fa
Added import tests.
2021-02-12 11:40:26 -03:00
Salvador E. Tropea
1b6cd3fad5
Adapted the makefile test for the new behavior
2021-02-11 11:54:35 -03:00
Salvador E. Tropea
67cee9988a
Added workaroud for KiCad printing wxWidgets "traits" errors.
2021-02-10 09:40:41 -03:00
Salvador E. Tropea
f698e44642
Now we can load InteractiveHtmlBom even when installed only as plugin
...
Fixes #49
2021-02-08 15:37:01 -03:00
Salvador E. Tropea
ce0f22edce
Adjusted some details about the time-out control
...
- Warning when detected pointing to use the global options
- Now pcbnmew_do/eeschema_do output is captured
- Warning when using floating value for kiauto_wait_start (no fail)
- A simple test for time-out
Fixes #48
2021-02-08 12:07:54 -03:00
Salvador E. Tropea
437f922341
Moved coverage calls, why out_step is wrongly reported?
2021-02-04 16:20:57 -03:00
Salvador E. Tropea
41c667cb1f
Added test for unknown prefix in units.
2021-02-04 16:17:34 -03:00
Salvador E. Tropea
047fe53e1d
Added tests for step and pdf_pcb_print command fails.
2021-02-04 16:09:50 -03:00
Salvador E. Tropea
0babc286af
Modified the tests to cover the missing lines.
2021-02-04 13:40:14 -03:00
Salvador E. Tropea
9f2344ed4a
Added tests for macros applied to stuff not currently used.
2021-02-04 13:06:44 -03:00
Salvador E. Tropea
685ab34c56
Added test for bogus argument passed to Layer.solve()
2021-02-04 12:00:17 -03:00
Salvador E. Tropea
fa7fe0a5d6
Added test for undocumented plug-in in example generation.
2021-02-04 11:45:53 -03:00
Salvador E. Tropea
fa7dde3008
Added test for undocumented filter.
2021-02-04 11:33:52 -03:00
Salvador E. Tropea
dd28c63089
Added test for undocumented preflight.
2021-02-04 11:27:57 -03:00
Salvador E. Tropea
e413cf0214
Added test for plug-in class without docstring.
2021-02-04 11:14:27 -03:00
Salvador E. Tropea
ba6787660c
Added test for undocumented option.
2021-02-04 10:42:02 -03:00
Salvador E. Tropea
cc19d12d60
Added test for KiCad config redirection.
2021-02-04 10:28:39 -03:00
Salvador E. Tropea
f39024d23d
Added test for plug-in that fails to generate its targets.
2021-02-04 10:06:48 -03:00
Salvador E. Tropea
d97ca18590
Added test for rotation filter in the bottom side.
2021-02-03 17:13:12 -03:00
Salvador E. Tropea
2d4f73d822
Fixed interaction between tests testing eeschema_do version
2021-02-03 16:07:36 -03:00
Salvador E. Tropea
afaecfe570
Added tests for run_e/drc fails (mocked)
2021-02-03 15:16:42 -03:00
Salvador E. Tropea
48b1eafafc
Added test for debug stats in BoM output.
2021-02-03 12:49:57 -03:00
Salvador E. Tropea
323dad144c
Added test for no sch loaded in KiBoM output.
2021-02-03 12:47:07 -03:00
Salvador E. Tropea
d1ef2c8cbf
Added style dependency in pcbdraw makefile target.
...
- Also now we make sure the style is an existent file.
2021-02-03 12:41:30 -03:00
Salvador E. Tropea
80df7d76c7
Added tests to fully cover config_reader.
...
- Output comment as None
- Empty output name
- Empty variant type
2021-02-03 12:31:39 -03:00
Salvador E. Tropea
d12837d5ba
Added tests for missing out_bom cases.
...
- No file in aggregate
- Missing file in aggregate
- Sch not loaded
2021-02-03 12:16:55 -03:00
Salvador E. Tropea
602f0dd261
Added a STEP test using a model that is inside our tree.
...
Ensures all models will be found.
2021-02-03 11:26:37 -03:00
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
265bdac7c2
Added test for update_xml in makefile test.
2021-02-02 12:31:34 -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
82f5aa9a0b
Added makefile tests for schematic print (PDF and SVG)
2021-02-02 10:36:19 -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
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
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
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