[Tests][Info][Added] simple test

This commit is contained in:
Salvador E. Tropea 2024-01-22 09:33:17 -03:00
parent c49a382300
commit 8c35fe66da
3 changed files with 21 additions and 1 deletions

View File

@ -1991,3 +1991,13 @@ def test_groups_2(test_dir):
ctx.run(no_board_file=True, no_out_dir=True, extra=['--only-names', '--list'])
ctx.search_out(['_Elecrow_compress', '_Elecrow_drill', '_Elecrow_gerbers'])
ctx.clean_up()
@pytest.mark.indep
def test_info_1(test_dir):
""" System information """
prj = 'simple_2layer' # fake
ctx = context.TestContext(test_dir, prj, 'info_1')
ctx.run()
ctx.expect_out_file(prj+'-info.txt')
ctx.clean_up()

View File

@ -7,4 +7,4 @@ outputs:
comment: "Information about the run"
type: info
options:
environment: full
environment: names

View File

@ -0,0 +1,10 @@
# Example KiBot config file
kibot:
version: 1
outputs:
- name: 'do_info'
comment: "Information about the run"
type: info
options:
environment: full