Salvador E. Tropea
4437222eab
[Tests] Added retry for the dummy web server when the address is in use
2022-11-30 18:41:43 -03:00
Salvador E. Tropea
bedac3f5ec
[Tests] Moved the stdout/err limit to 10 MB
2022-10-19 14:08:05 -03:00
Salvador E. Tropea
b25e4c2d65
[Tests] Removed stdout/stderr read limit
2022-10-19 14:01:54 -03:00
Salvador E. Tropea
25d9806b47
[Diff] Added option to compare only the first schematic page.
...
- So now the default is to compare all the schematic pages.
Closes #319
2022-10-14 10:25:37 -03:00
Salvador E. Tropea
8392f468ae
[Tests] Added some tollerance to img compare for non Debian
2022-09-23 09:43:57 -03:00
Salvador E. Tropea
80d69acaa6
[Tests] Avoid comparing the text in diffs when not Debian
2022-09-23 09:35:57 -03:00
Salvador E. Tropea
aba02e083c
[Tests] Look for coverage3 if python3-coverage isn't installed
2022-09-23 07:27:46 -03:00
Salvador E. Tropea
e2fdf87d6b
[Copy_Files] Now you can copy the 3D models
...
- Also save a PCB modified to use them
- Changed the syntax so we can copy other stuff
2022-09-20 13:13:12 -03:00
Salvador E. Tropea
488f2dcbc2
[Global options] Now the global `dir` option also applies to the preflights
...
- Can be disabled using `use_dir_for_preflights`.
Closes #292
2022-09-15 09:33:57 -03:00
Salvador E. Tropea
3684889060
[PCB Print] Changed the conversion strategy
...
- Now we can control the resolution
- Added option for this
Related to #259
2022-09-07 08:40:18 -03:00
Salvador E. Tropea
a4abb65ef3
[Diff] Added support for stashing submodules
...
Related to #265
2022-09-05 13:35:04 -03:00
Salvador E. Tropea
6b344a094b
[Diff][Fixed] Problems when no changes to stash
...
- "git stash push" always returns 0, even if nothing was stashed.
- But "git stash pop" returns 1 if nothing stashed.
- So now we check using "git stash list".
Related to #265
2022-08-31 07:50:09 -03:00
Salvador E. Tropea
d0caf5b8fd
[Tests] Fixed problems when a test using git failed
...
- We didn't restore the working dir
2022-08-25 13:38:57 -03:00
Salvador E. Tropea
464b72e8f1
New output to compute differences between PCBs and SCHs.
...
Fixes INTI-CMNB/KiAuto#14
2022-08-25 13:02:02 -03:00
Salvador E. Tropea
9be29307be
[Tests] Modified the logs to print a command that we can copy and paste
2022-08-11 09:27:39 -03:00
Salvador E. Tropea
9532422984
[Tests] Run slow tests separately
...
- Also run the faster ones in parallel
- The slowest use KiCad, not sure how safe is to run it in parallel
- Changed mechanism of coverage collection to allow parallel execution
2022-07-09 16:33:09 -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
72a2c71ddb
Added test for PCB paper size stuff
2022-06-12 12:17:23 -03:00
Salvador E. Tropea
78b55b916a
Added missing changes to context.py
2022-06-10 20:37:17 -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
0227730e45
Added simple test for --quick-start
2022-06-08 13:29:37 -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
b48a9e5ab0
Fixed (KiCad 6) traces not visible in 3D render
...
Fixes #177
2022-04-07 15:44:22 -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
788b7d6b83
Added support for buried/blind vias to the drill outputs
...
Fixes #166
2022-03-24 12:57:08 -03:00
Salvador E. Tropea
f78b0c1f78
Adjusted references for KiCad 6.0.2.
2022-03-08 12:39:05 -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
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
6d939bbdbe
Added datasheets downloader
...
Closes #119
2021-12-29 15:20:54 -03:00
Salvador E. Tropea
3f822dd938
Better debug information when a test YAML is missing
2021-12-29 15:17:27 -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
4253368dd8
Added more information when a board test is missing
...
- During tests migration to a new KiCad
2021-12-27 15:20:52 -03:00
Diego Capusotto
7e37d64bcc
Added .kicad_prl removal during tests
2021-12-18 18:40:41 -03:00
Diego Capusotto
1b7d42397e
Adapted the test_preflight tests to KiCad 6
2021-12-18 17:02:41 -03:00
Diego Capusotto
46378b992b
Added some abstraction for the KiCad project file extension.
2021-12-18 11:13:58 -03:00
Diego Capusotto
cf3720ccaa
Added function to check for KiCad v5 to context.py
2021-12-17 18:22:19 -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
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
57c517d02b
Passed the same verbosity level to KiAuto scripts.
2021-02-18 12:47:21 -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
01131bfc64
Fixed flake8 issues (indentation and obsolete request)
2021-02-01 11:28:11 -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
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
4a3e7faace
Added a new filter used to rotate footprints.
...
Used to generate position files for some manufacturers like JLC.
Also in this patch:
- Now position files are naturally sorted (R10 after R9, not after R1)
- Position files in CSV format quotes only the columns that could
contain an space. Just like KiCad does.
- Fixed: Generic filter `include_only` option worked only when debug
enabled.
2020-12-28 18:26:27 -03:00
Salvador E. Tropea
b17e9d78b2
Modified test reference dir for KiCad 5.1.8.
2020-12-16 12:14:44 -03:00
Salvador E. Tropea
7248258672
Added Internal BoM HTML details.
...
- highlight cell when hover.
- allow to jump to REF of row number using anchors.
2020-12-09 11:32:37 -03:00
Salvador E. Tropea
adf6c7a5b1
Modified tests to keep kibom-variant_3.pro
2020-10-24 17:22:08 -03:00