Skip to content

Releases: teemtee/tmt

Handle missing nitrate/testcloud, support enabling/disabling tests

25 Mar 12:13
Compare
Choose a tag to compare
  • Import the testcloud module when needed [fix #175]
  • Update implementation coverage of stories & spec
  • Discover only enabled tests [fix #170]
  • Correctly handle missing nitrate module or config
  • Use raw string for regular expression search

Test export, improved test import and environment handling

23 Mar 09:58
Compare
Choose a tag to compare
  • Merge default images for podman/testcloud [#169]
  • Do not export empty environment to run.sh
  • Merge vagrant check for running connection [#156]
  • Adjust vagrant check for running connection
  • Merge test export into nitrate [#118]
  • Adjust 'tmt test export --nitrate' implementation
  • Use fedora as a default image for podman/testcloud
  • Move testcloud back to the extra requires
  • Always copy directory tree to the workdir
  • Add an example with test and plan in a single file
  • Do not run tests with an empty environment
  • Check for non-zero status upon yaml syntax errors
  • Export test cases to nitrate
  • Merge test import using testinfo.desc [#160]
  • Adjust test import using testinfo.desc
  • Use testinfo.desc as source of metadata
  • Add environment support to the discover step (#145)
  • Add a new story describing user and system config (#143)
  • Check if connection is running in Vagrant Provision

Environment, testcloud, finish always, dot notation...

23 Mar 09:55
Compare
Choose a tag to compare
  • Merge fixed environment support in run.sh [#99]
  • Add container and testcloud to tmt-all requires (#157)
  • Rename dict_to_shell() to better match content
  • Make path mandatory in run.sh.
  • Handle execution better in run.sh
  • Implement --env for testcloud provisioner
  • Merge run --environment support for podman [#132]
  • Fix container destroy, plus some minor adjustments
  • Use cache 'unsafe' for testcloud (#150)
  • Add --env option and support in podman provisioner
  • Warn about missing metadata tree before importing
  • Move testcloud to base requires, update README (#153)
  • Destroy container in finish only if there is any
  • Merge tmt test import --nitrate --disabled [#146]
  • Adjust the disabled test import implementation
  • Add an overview of classes (where are we heading)
  • Import non-disabled tests
  • Add a 'Provision Options' section, update coverage
  • Support selecting objects under the current folder
  • Add a link to details about fmf inheritance
  • Move requirements under the Install section
  • Mock testcloud modules to successfully build docs
  • Include examples of plan inheritance [fix #127]
  • Update implementation coverage for cli stories
  • Add testcloud provisioner (#134)
  • Merge the new story for 'tmt run --latest' [#136]
  • Move run --latest story under run, fix code block
  • Fix invalid variable name in the convert example
  • Use 'skip' instead of 'without', simplify default
  • Add rerun cli shortcut
  • Make sure we run finish always
  • Update the docs making '--name=' necessary (#138)
  • Clarify environment priority, fix release typo
  • Add environment specification
  • Remove copr build job from packit (not necessary)
  • Use the 'extra-summary' in the output as well
  • Use 'nitrate' consistently for tcms-related stuff
  • Prefix all non-specification keys [fix #120]
  • Show a nice error for an invalid yaml [fix #121]
  • Move container plan to common provision examples
  • Remove tmt-all dependency on vagrant-libvirt
  • Do not use red for import info messages [fix #125]
  • Show a nice error for weird Makefiles [fix #108]

Import improvements, container support, new stories and more

24 Feb 19:52
Compare
Choose a tag to compare
  • Rename the 'test convert' command to 'test import'
  • Include 'path' when importing virtual test cases
  • Extract test script from Makefile during convert
  • Do not import 'fmf-export' tag from nitrate [#119]
  • Merge the improved component import [#115]
  • Several adjustments to the component import
  • Merge the improved requires parsing [#113]
  • Fix parsing multiple requires from Makefile
  • Fail nicely if executed without provision (#112)
  • Make sure the copr command is available in dnf
  • Fix handling defaults for options, adjust wording
  • Read 'components' from nitrate when converting
  • Read requires as list when converting tests
  • Make it possible to pass script on cmdline
  • Mention libvirt and rsync in Fedora 30 workaround
  • Move podman image check and pull under go()
  • Simple destroy implementation for podman provision
  • Add Fedora 30 installation instructions [fix #105]
  • Merge podman support for the provision step [#106]
  • Several adjustments to the podman implementation
  • Fix _prepare_shell in podman provisioner
  • Add podman provisioner
  • Update the test case relevancy specification (#102)
  • Move copy_from_guest to provision/base.py (#75)
  • Several minor adjustments to the restraint story
  • Add user story for restraint
  • Merge different summaries for subpackages [#97]
  • Remove macro from the tmt-all subpackage summary
  • Add different summaries for sub-packages
  • Mention 'fmf-export' tag in the test export story
  • Merge optional PURPOSE in test convert [#89]
  • Handle missing duration or nitrate case in convert
  • Add support for wrap='auto' in utils.format()
  • Use local fmf repository for the basic plan (#94)
  • Merge test import documentation updates [#90]
  • Merge tag, status, pepa & hardware for test import
  • Several test import adjustments related to #91
  • Fix deduplication bug when converting tests
  • Read more attributes from nitrate when converting
  • Update examples doc for converting tests
  • Update execute step examples for shell
  • Simplify packit configuration using 'fedora-all' (#88)
  • Optional attributes when converting.
  • Update execute and report step specification
  • Add spec for results.yaml and report.yaml (#66)
  • Add a story for exporting tests into nitrate (#83)
  • Add the 'require' attribute into the L1 Metadata
  • Update the Metadata Specification link in README
  • Improve 'tmt test convert' command implementation

Fix version requires, bash completion, virtual tests

16 Jan 10:39
Compare
Choose a tag to compare
  • Do not create bash completion script during build
  • Require the same version, fix changelog entry
  • Create fmf for each tcms case when converting. (#78)

A bunch of work done :-)

14 Jan 15:24
Compare
Choose a tag to compare
  • Make the package build for epel7 and epel8
  • Implement test discover from execute shell script
  • Disable /plan/helps for running in cruncher (#74)
  • Do not fail ansible execution on 'stty cols' error
  • Use a list for storing converted requires
  • Add Requires to main.fmf when converting tests (#65)
  • Fix command debug output to join tuples as well. (#77)
  • Set 80 chars for ansible-playbook on localhost
  • Use tmt to init tree, extra folder for playbooks
  • Fix log and error handling in execute
  • Fail in run.sh if there are Missing tests.
  • Use sudo in prepare step to allow local execution
  • Fix run_vagrant() to work with shell=True
  • Use tmt init --template, not --mini|--base|--full (#69)
  • Add a simple local provision plan to examples
  • Simplify step selection test, simple local example
  • Fix conflicting options, revert copr config
  • Add --guest support for the provision step
  • Depend on git-core and not the full git package (#64)
  • Use shell=True as a default in utils' run()
  • Put quotes in pip install .[*] in README (#67)
  • Use parent run context to check for enabled steps
  • Improve the enabled steps implementation
  • Add 'mock' to the extra test requires [fix #63]
  • Add a new story for developing upgrade tests
  • Update fedora targets for packit
  • Add vagrant to BuildRequires (needed to run tests)
  • Add stories for connecting to a provisioned box
  • Separate the provision step into multiple stories
  • Fix provision tests to work with older mock (#51)
  • Install the latest mock module for testing
  • Default to vagrant provision, use the tree root
  • Update documentation coverage links
  • Move new docs to examples, adjust style & content
  • Add prepare functionality to local provision
  • Import examples from @psss's talk
  • Add an argument to ProvisionBase.copy_from_guest (#41)
  • Remove unused imports, fix crash, shell prepare
  • Initial prepare and finish steps implementation
  • Document the vagrant-rsync-back plugin workaround
  • Fix beakerlib execution, show overall results
  • Better execute with logs and better run.sh
  • Implement 'tmt init --base' with working examples
  • Add git to the main package requires
  • Add tmt & python3-nitrate to the tmt-all requires
  • Create subpackage 'tmt-all' with all dependencies
  • Use package_data to package the test runner
  • Apply requested file mode in create_file()
  • Run tmt tests local by default, fix provision show
  • Implement image selection using provision --image
  • Do not re-raise tmt exceptions in debug mode
  • Package the runner, dry mode in Common.run()
  • Support multiline output in common display methods
  • Enable command line filtering in discover.shell
  • Default discover method has to be 'shell'
  • Fix Common.run() to capture all output, log all
  • Fix broken test/plan/story create, add some tests
  • Better config handling in ProvisionVagrant.
  • Implement 'sync-back' and simple VagrantProvision.

Initial packaging

30 Sep 15:39
Compare
Choose a tag to compare
0.1

Version 0.1 ready for packaging