Salvador E. Tropea
c79e5b0b0f
[PcbDraw] Better support for variants
...
- All variant stuff is applied
- A new mode allows to get a more coherent behavior for the show_components
2022-10-19 10:19:00 -03:00
Salvador E. Tropea
838129e69c
[PcbDraw] Embedded the PcbDraw.plot code
...
- Now PcbDraw is not a dependency of out_pcbdraw.py
2022-10-17 12:58:06 -03:00
Salvador E. Tropea
1d0c2307c5
[Tests] Compare 100% height of PcbDraw images
...
- Also added some tollerance, with this v1.0.0 is passing the tests.
2022-09-29 10:47:06 -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
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
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
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
3d8e842323
Fixed test_pcbdraw_variant_3 output dir
2022-04-08 15:00:03 -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
1b48e614a7
Added pattern expansion in the `dir` option for outputs
...
Closes #58
2021-03-12 21:14:39 -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
b347a6ca30
The board object is no longer passed to run methodes.
...
The global GS.board is used instead.
2021-01-15 14:14:17 -03:00
Salvador E. Tropea
adf6c7a5b1
Modified tests to keep kibom-variant_3.pro
2020-10-24 17:22:08 -03:00
Salvador E. Tropea
7c7549e6d7
Changed mcpy by mcpyrate to test its functionality.
2020-10-16 15:32:00 -03:00
Salvador E. Tropea
b03b56ae5d
Added more coherence to the variants/filters.
...
- Now they behave more coherently across outputs.
- Component status is explicitly reset, so having a variant + filter
behaves in a more consistent way. Even when this isn't the
recommended use.
- Virtual components are handled by the exclude filter.
- Moved code to modify the PCB to VariantOptions.
- Added a real virtual component to the tests, not a ridiculous case.
2020-09-08 20:01:16 -03:00
Salvador E. Tropea
a59870808d
Made the image comparisson more fuzzy.
2020-09-04 18:51:05 -03:00
Salvador E. Tropea
d09400d49d
Added support for variants to the PcbDraw output.
2020-09-04 18:08:22 -03:00
Salvador E. Tropea
df013b57dc
Fixed flake8 details
2020-08-28 16:57:31 -03:00
Salvador E. Tropea
7c11370afd
Added tests for missing convert and/or rsvg-convert
2020-08-27 19:18:08 -03:00
Salvador E. Tropea
3023035b75
Added tests for PcbDraw JPG and PNG outputs
2020-08-25 13:47:49 -03:00
Salvador E. Tropea
52e6bb1b5f
Added support for PcbDraw
2020-07-11 13:49:03 -03:00