Salvador E. Tropea
75afab0d40
[Test] Fixed drc filters tests cases
...
- Added silk_over_copper exclusion
- Skipped test_drc_filter_2 for KiCad 5 (is for KiCad 6)
2022-08-10 18:39:43 -03:00
Salvador E. Tropea
c5a6d894c9
[DRC] Added Workaround for problems with DRC exclusions
...
- Global option: `drc_exclusions_workaround`
- KiCad bug [11562](https://gitlab.com/kicad/code/kicad/-/issues/11562 )
Fixes INTI-CMNB/KiAuto#26
2022-08-10 14:01:32 -03:00
Salvador E. Tropea
061ed0488e
[Tests] Separated kicad2step, pcbnew and eeschema tests
2022-07-14 19:23:28 -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
3a5042ea96
Simplified the tests
2022-06-10 19:55:13 -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
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
338a0cc3d4
Fixed B007 Loop control variable 'i' not used within the loop body.
2022-02-17 19:10:47 -03:00
Diego Capusotto
1b7d42397e
Adapted the test_preflight tests to KiCad 6
2021-12-18 17:02:41 -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
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
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
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
15474ae4d7
Now you can consolidate more than one project in one BoM.
...
The basic idea comes from pimpmykicadbom by Anton Savov (@antto)
2021-01-21 14:43:47 -03:00
Salvador E. Tropea
e0ab45e95d
Now the default output name applies to the DRC and ERC report names.
...
This provides more coherent file names.
2021-01-12 13:44:09 -03:00
Salvador E. Tropea
0ebedc398c
Renamed ERC/DRC tests to run them individually.
2020-10-14 16:07:09 -03:00
SET
89914443f0
Renamed the kiplot module as kibot.
...
Also added src/kibot script.
Updated the documentation and Debian packaging.
The default extension for config files now is .kibot.yaml
2020-08-16 22:04:03 -03:00
Salvador E. Tropea
307bed3a36
Added more preflight tests
2020-07-08 19:49:33 -03:00
Salvador E. Tropea
38baa62cbe
Fixed ERC/DRC error count report.
2020-07-08 19:28:07 -03:00
Salvador E. Tropea
4869ead2eb
Added test for failling DRC
2020-07-08 16:52:53 -03:00
Salvador E. Tropea
922b853084
Fixed ignore_unconnected.
...
Also added a test and a test for the error type.
Additionally the BasePreflight now provides default run/apply members.
2020-07-08 16:29:30 -03:00
Salvador E. Tropea
c2a735e9a6
For some reason Python sys.path vector has a limit and I was abusing it.
...
Each test module setups the path to find the needed modules, but didn't check
if it was necesary. Creating a long path that finally started to fail.
2020-06-15 15:14:53 -03:00
Salvador E. Tropea
9983bc05bf
Added test for the filters feature
2020-06-09 13:56:17 -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
cad997ae3d
Added ERC test
2020-05-20 10:37:06 -03:00