04f8967
Name: tmt
f58aeb0
Version: 1.2.1
06f7516
Release: 1%{?dist}
04f8967
1cdeedc
Summary: Test Management Tool
04f8967
License: MIT
04f8967
BuildArch: noarch
ae336d6
%{?kernel_arches:ExclusiveArch: %{kernel_arches} noarch}
04f8967
04f8967
URL: https://github.com/psss/tmt
1cdeedc
Source0: https://github.com/psss/tmt/releases/download/%{version}/tmt-%{version}.tar.gz
04f8967
04f8967
# Depending on the distro, we set some defaults.
04f8967
# Note that the bcond macros are named for the CLI option they create.
04f8967
# "%%bcond_without" means "ENABLE by default and create a --without option"
04f8967
04f8967
# Fedora or RHEL 8+
04f8967
%if 0%{?fedora} || 0%{?rhel} > 7
04f8967
%bcond_with oldreqs
04f8967
%bcond_with englocale
04f8967
%else
04f8967
# The automatic runtime dependency generator doesn't exist yet
04f8967
%bcond_without oldreqs
04f8967
# The C.UTF-8 locale doesn't exist, Python defaults to C (ASCII)
04f8967
%bcond_without englocale
04f8967
%endif
04f8967
04f8967
# Main tmt package requires the Python module
04f8967
Requires: python%{python3_pkgversion}-%{name} == %{version}-%{release}
f56b571
Requires: git-core sshpass
04f8967
04f8967
%description
04f8967
The tmt Python module and command line tool implement the test
04f8967
metadata specification (L1 and L2) and allows easy test execution.
04f8967
This package contains the command line tool.
04f8967
04f8967
%?python_enable_dependency_generator
04f8967
04f8967
04f8967
%package -n     python%{python3_pkgversion}-%{name}
2ccd21c
Summary:        Python library for the %{summary}
04f8967
BuildRequires: python%{python3_pkgversion}-devel
04f8967
BuildRequires: python%{python3_pkgversion}-setuptools
04f8967
BuildRequires: python%{python3_pkgversion}-pytest
04f8967
BuildRequires: python%{python3_pkgversion}-click
04f8967
BuildRequires: python%{python3_pkgversion}-fmf
1cdeedc
BuildRequires: python%{python3_pkgversion}-mock
2ccd21c
BuildRequires: python%{python3_pkgversion}-requests
2ccd21c
BuildRequires: python%{python3_pkgversion}-testcloud
04f8967
%{?python_provide:%python_provide python%{python3_pkgversion}-%{name}}
04f8967
%if %{with oldreqs}
04f8967
Requires:       python%{python3_pkgversion}-PyYAML
04f8967
%endif
04f8967
04f8967
%description -n python%{python3_pkgversion}-%{name}
04f8967
The tmt Python module and command line tool implement the test
04f8967
metadata specification (L1 and L2) and allows easy test execution.
04f8967
This package contains the Python 3 module.
04f8967
f56b571
%package provision-container
2ccd21c
Summary: Container provisioner for the Test Management Tool
f56b571
Obsoletes: tmt-container < 0.17
2ccd21c
Requires: tmt == %{version}-%{release}
2ccd21c
Requires: ansible podman
04f8967
f56b571
%description provision-container
f56b571
Dependencies required to run tests in a container environment.
2ccd21c
f56b571
%package provision-virtual
f56b571
Summary: Virtual machine provisioner for the Test Management Tool
f56b571
Obsoletes: tmt-testcloud < 0.17
4c6bb0f
Requires: tmt == %{version}-%{release}
f56b571
Requires: python%{python3_pkgversion}-testcloud >= 0.3.5
f56b571
Requires: ansible openssh-clients rsync
2ccd21c
f56b571
%description provision-virtual
f56b571
Dependencies required to run tests in a local virtual machine.
2ccd21c
ae336d6
%package test-convert
ae336d6
Summary: Test import and export dependencies
ae336d6
Requires: make python3-nitrate python3-html2text
ae336d6
ae336d6
%description test-convert
ae336d6
Additional dependencies needed for test metadata import and export.
ae336d6
2d5f111
%package report-html
2d5f111
Summary: Report plugin with support for generating web pages
2d5f111
Requires: python3-jinja2
2d5f111
2d5f111
%description report-html
2d5f111
Generate test results in the html format. Quickly review test
2d5f111
output thanks to direct links to output logs.
2d5f111
2ccd21c
%package all
2ccd21c
Summary: Extra dependencies for the Test Management Tool
2ccd21c
Requires: tmt >= %{version}
f56b571
Requires: tmt-provision-container >= %{version}
f56b571
Requires: tmt-provision-virtual >= %{version}
ae336d6
Requires: tmt-test-convert >= %{version}
2d5f111
Requires: tmt-report-html >= %{version}
1cdeedc
1cdeedc
%description all
1cdeedc
All extra dependencies of the Test Management Tool. Install this
1cdeedc
package to have all available plugins ready for testing.
1cdeedc
1cdeedc
04f8967
%prep
04f8967
%setup -q
04f8967
04f8967
04f8967
%build
04f8967
%if %{with englocale}
04f8967
export LANG=en_US.utf-8
04f8967
%endif
04f8967
04f8967
%py3_build
04f8967
04f8967
04f8967
%install
04f8967
%if %{with englocale}
04f8967
export LANG=en_US.utf-8
04f8967
%endif
04f8967
04f8967
%py3_install
04f8967
04f8967
mkdir -p %{buildroot}%{_mandir}/man1
1cdeedc
mkdir -p %{buildroot}/etc/bash_completion.d/
04f8967
install -pm 644 tmt.1* %{buildroot}%{_mandir}/man1
4c6bb0f
install -pm 644 bin/complete %{buildroot}/etc/bash_completion.d/tmt
04f8967
04f8967
04f8967
%check
04f8967
%if %{with englocale}
04f8967
export LANG=en_US.utf-8
04f8967
%endif
04f8967
146337e
%{__python3} -m pytest -vv -m 'not web'
04f8967
04f8967
04f8967
%{!?_licensedir:%global license %%doc}
04f8967
f56b571
04f8967
%files
04f8967
%{_mandir}/man1/*
04f8967
%{_bindir}/%{name}
04f8967
%doc README.rst examples
04f8967
%license LICENSE
4c6bb0f
/etc/bash_completion.d/tmt
04f8967
04f8967
%files -n python%{python3_pkgversion}-%{name}
04f8967
%{python3_sitelib}/%{name}/
04f8967
%{python3_sitelib}/%{name}-*.egg-info/
04f8967
%license LICENSE
f56b571
%exclude %{python3_sitelib}/%{name}/steps/provision/{,__pycache__/}{podman,testcloud}.*
2d5f111
%exclude %{python3_sitelib}/%{name}/steps/report/{,__pycache__/}html.*
04f8967
f56b571
%files provision-container
f56b571
%{python3_sitelib}/%{name}/steps/provision/{,__pycache__/}podman.*
04f8967
f56b571
%files provision-virtual
f56b571
%{python3_sitelib}/%{name}/steps/provision/{,__pycache__/}testcloud.*
2ccd21c
2d5f111
%files report-html
2d5f111
%{python3_sitelib}/%{name}/steps/report/{,__pycache__/}html.*
2d5f111
ae336d6
%files test-convert
ae336d6
%license LICENSE
ae336d6
1cdeedc
%files all
1cdeedc
%license LICENSE
1cdeedc
1cdeedc
04f8967
%changelog
f58aeb0
* Fri Dec 11 2020 Petr Šplíchal <psplicha@redhat.com> - 1.2.1-1
f58aeb0
- Manual state for manual nitrate tests
f58aeb0
- Define framework for all beakerlib libraries tests
f58aeb0
- Remove the remaining test case relevancy leftovers
f58aeb0
2d5f111
* Wed Dec 09 2020 Petr Šplíchal <psplicha@redhat.com> - 1.2-1
2d5f111
- Minor adjustment of the beakerlib test template
2d5f111
- Adjust the new test checking the error output
2d5f111
- Print errors to stderr
2d5f111
- Fix check for selecting plans during tmt run
2d5f111
- Update test coverage, fix finish step example
2d5f111
- Update spec/stories implementation coverage
2d5f111
- Skip import of manual cases with script
2d5f111
- Import header and footer from Nitrate
2d5f111
- Implement conversion between relevancy and adjust
2d5f111
- Support short options for selecting tests & plans
2d5f111
- Document the display and html report in the spec
2d5f111
- Explain the difference between fmf and tmt
2d5f111
- Fix the last missing framework in library tests
2d5f111
- Adjust the docs update and title implementation
2d5f111
- Implement a new story attribute 'title' (L3)
2d5f111
- Small documentation cleanup
2d5f111
- Simplify plan setup, move old plans to examples
2d5f111
- Store the whole debug log in the top run directory
2d5f111
- Add test for pip installability
2d5f111
- Add a new plan to cover minimal installation
2d5f111
- Move html report plugin into a separate subpackage
2d5f111
- Use 'output.txt' filename for the main test output
2d5f111
- Update required fmf version in setup.py
2d5f111
- Improve the css style for the html report
2d5f111
- Fix blocking read in Common.run
2d5f111
- Adjust a bit the improved html report
2d5f111
- Improve report-html --open
2d5f111
- Implement adjusting metadata based on the context
2d5f111
- Adjust the new 'html' report method
2d5f111
- New report --how html available
2d5f111
- Adjust environment import from Makefile metadata
2d5f111
- Import environment from Makefile metadata
2d5f111
- Update old beakerlib paths during tmt test import
2d5f111
- Adjust a little bit the user story templates
2d5f111
- Support libraries stored deep in the repositories
2d5f111
- Enable the new coverage stories section in docs
2d5f111
- First stories to cover tests coverage mapping
2d5f111
- Recommend using login shell in libvirt hints
2d5f111
- Use nitrate naming for the manual field export
2d5f111
- Export manual attribute to nitrate
2d5f111
- Store complete initialized data in metadata.yaml
2d5f111
- Merge the improved minute error messages [#425]
2d5f111
- Adjust a bit the minute provision error messages
2d5f111
- Handle testcloud problem with the images directory
2d5f111
- Handle tracebacks in minute provision
2d5f111
- Multiple enhancements for package preparation
2d5f111
- Gracefully handle invalid library reference
2d5f111
df12662
* Thu Oct 22 2020 Petr Šplíchal <psplicha@redhat.com> - 1.1-1
df12662
- Convert adds extra-summary as well
df12662
- Simplify test directory copy with enabled symlinks
df12662
- Select latest minute image only from released images
df12662
- Allow specifying exact RHEL version using a short name
df12662
- Preserve symlinks during discover, pull and push
df12662
- Always run Login plugin even if step is done
df12662
- Suggest some useful aliases for common use cases
df12662
- Correct type of Tier attribute in examples
df12662
- Define basic hardware environment specification
df12662
- Import manual data for automated tests
df12662
- Tag tests which can be run under container/virtual
df12662
- Give hints to install provision plugins [fix #405]
df12662
- Handle nicely missing library metadata [fix #397]
df12662
- Update the test data directory name in the spec
df12662
- Extend duration for tests using virtualization
df12662
- Use a better name for the test data path method
df12662
- Provide aggregated test metadata for execution
df12662
- Send warnings to stderr, introduce a fail() method
df12662
f23ac46
* Wed Oct 07 2020 Petr Šplíchal <psplicha@redhat.com> - 1.0-1
f23ac46
- Correctly handle framework for new plans and tests
f23ac46
- Move runtest.sh adjustments into a single function
f23ac46
- Add the executable permission to runtest.sh
f23ac46
- Less strict removing sourcing of rhts-environment
f23ac46
- Use metadata directory as the default for path
f23ac46
- Implement the new L1 attribute 'framework'
f23ac46
- Explicitly enable copr_build for pull requests
f23ac46
- Handle missing library in existing repository
f23ac46
- Update the overall tmt description and examples
f23ac46
- Enable builds from master in the main copr repo
f23ac46
- Merge packit config for copr builds from master
f23ac46
- Use packit repository for copr builds from master
f23ac46
- Gracefully handle invalid test output
f23ac46
- Build in COPR for master via packit
f23ac46
- Add hint about caching the dnf package metadata
f23ac46
- Add two hints about easy login for experimenting
f23ac46
- Merge debug messages for the minute plugin [#361]
f23ac46
- Adjust the minute provision debug messages wording
f23ac46
- Use the internal tmt executor by default
f23ac46
- Add more debug messages to minute provision
f23ac46
- Remove the remaining 'tmt test convert' references
f23ac46
- Prevent shebang mangling for detached executor
f23ac46
- Merge the minute and install plugin docs [#345]
f23ac46
- Adjust the minute and install plugin documentation
f23ac46
- Merge the manual test import documentation [#347]
f23ac46
- Adjust the manual test documentation wording
f23ac46
- Merge rhts-environment source line removal [#344]
f23ac46
- Adjust rhts-environment source line removal
f23ac46
- Add missing extra-* keys to the test import
f23ac46
- Add docs for manual case import
f23ac46
- Disable authentication when fetching libraries
f23ac46
- Document the install prepare method
f23ac46
- Document the minute provision method
f23ac46
- Remove sourcing of rhts-environment in runtest.sh
f23ac46
- Add minute to supported provision methods of prepare
f23ac46
ae336d6
* Mon Sep 07 2020 Petr Šplíchal <psplicha@redhat.com> - 0.21-1
ae336d6
- Adjust manual test case import from nitrate [#319]
ae336d6
- Move the test convert deps into a separate package
ae336d6
- Support importing manual test cases from Nitrate
ae336d6
- Merge the non-zero exit codes for linting errors
ae336d6
- Fix several test export issues [fix #337]
ae336d6
- Adjust distro checks, remove the dry parameter
ae336d6
- Generalized Guest.details() [fix #310]
ae336d6
- Adjust the test coverage for tmt plan/test lint
ae336d6
- Update documentation with virtualization tips
ae336d6
- Make sure the duration timer is always canceled
ae336d6
- Merge the new retry_session functionality [#328]
ae336d6
- Exit with non-zero code if linting fails
ae336d6
- Merge fix for the double fmf extension [#327]
ae336d6
- Prevent koji from trying to build packages on i686
ae336d6
- Retry requests in case of network failure
ae336d6
- Avoid double fmf extension when creating plans and stories
ae336d6
- Improve the maximum test duration handling
ae336d6
- Remove vagrant from tmt-all recommended packages
ae336d6
- Detect beakerlib libraries from recommend as well
ae336d6
- Simplify packit custom create archive command
ae336d6
- Make the httpd test example a bit more interesting
ae336d6
- Append dots to fix tmt run --help message summary
ae336d6
- Document multiple configs and extending steps
ae336d6
146337e
* Tue Jul 28 2020 Petr Šplíchal <psplicha@redhat.com> - 0.20-1
146337e
- Move libraries handling into a separate module
146337e
- Adjust loading variables from YAML files [#316]
146337e
- Support environment variables from YAML files
146337e
- Give a nice error for expired kerberos [fix #57]
146337e
- Merge Guest relocation and documentation [#307]
146337e
- Describe essential Guest methods in more detail
146337e
- Update test import story and documentation
146337e
- Merge extra-task as summary in test export [#304]
146337e
- Move default plan handling into a single method
146337e
- Move the Guest class from base to steps.provision
146337e
- Save root in run.yaml
146337e
- Document L1 metadata defined in the discover step
146337e
- Improve Makefile editing during test import
146337e
- Use extra-task as summary in test export
146337e
- Mention default methods in the step help message
146337e
- Handle invalid url when library provided as fmf id
146337e
- Allow library git clone to fail
146337e
b13b513
* Fri Jun 12 2020 Petr Šplíchal <psplicha@redhat.com> - 0.19-1
b13b513
- Make the discover step a little bit more secure
b13b513
- Improve basic and verbose output of tmt plan show
b13b513
- Improve default plan handling and more [fix #287]
b13b513
- Adjust the compose check retry in testcloud
b13b513
- Retry Fedora compose check in testcloud [fix #275]
b13b513
- Update development section and library example
b13b513
- Support fetching beakerlib libraries in discover
b13b513
- Add nitrate to the setup.py extra requires
b13b513
- Add a workflow-tomorrow integration test example
b13b513
- Add 'duration' into the test results specification
b13b513
06f7516
* Mon Jun 01 2020 Petr Šplíchal <psplicha@redhat.com> - 0.18-1
06f7516
- Add virtual plans for supported provision methods
06f7516
- Implement description in 'tmt plan show' as well
06f7516
- Implement tmt run --remove to remove workdir
06f7516
- Extend the login/step test to cover failed command
06f7516
- Do not fail upon command fail in interactive mode
06f7516
- Implement the internal tmt execute step method
06f7516
- Move all prepare/install tests to tier level 3
06f7516
- Merge the new manual test specification [#247]
06f7516
- Merge the new L1 attribute 'recommend' [#265]
06f7516
- Adjust the manual test specification and examples
06f7516
- Implement 'recommend' for installing soft requires
06f7516
- State explicitly that execution is finished
06f7516
- Simplify beakerlib template, add test for init
06f7516
- Manual test case specification and examples
06f7516
- Implement exit codes, handle no tests [fix #246]
06f7516
- Merge the interactive shell login command [#258]
06f7516
- Adjust support for shortened 1MT image names
06f7516
- New login command to provide a shell on guest
06f7516
- Add support for shortened 1MT image names
06f7516
- Add support for running tests without defined plan
06f7516
- Ignore save() in the execute step unit test
06f7516
- Update the default run example with fresh output
06f7516
- Show kernel version only in verbose mode
a14ce8c
f56b571
* Sat May 23 2020 Petr Šplíchal <psplicha@redhat.com> - 0.17-1
f56b571
- Use emulator_path instead of hard-coded qemu path
f56b571
- Improve a bit the --force option description
f56b571
- Use consistent naming for provision subpackages
f56b571
- Add 'mock' to extra requires (needed to make docs)
f56b571
- Move podman and testcloud plugins into subpackages
f56b571
- Enable epel for packit build & testing farm
f56b571
- Move vagrant from requires to recommends (tmt-all)
f56b571
f56b571
* Mon May 18 2020 Petr Šplíchal <psplicha@redhat.com> - 0.16-1
f56b571
- Merge the fix and test for run --force [#245]
f56b571
- Merge the improved display report [#241]
f56b571
- Adjust the display report plugin verbose output
f56b571
- Adjust general plan linking and component check
f56b571
- Clean up the run workdir if --force provided
f56b571
- More verbose modes for report --how display
f56b571
- Link plans, handle missing components in export
f56b571
- Import and listify of contact
f56b571
- Disable Tier 3 tests by default (need bare metal)
f56b571
- Move Tier 0 tests into a separate directory
f56b571
- Merge the new 1minutetip provision plugin [#225]
f56b571
- Adjust the 1minutetip provision plugin
f56b571
- Add support for tmt run --after and --before (#237)
f56b571
- Support string in test component, require and tag (#233)
f56b571
- Add support for installing local rpm packages
f56b571
- Add 1minutetip provision plugin
f56b571
- Implement tmt run --since, --until and --skip (#236)
f56b571
- Merge pull request #234 from psss/testcloud-aliases
f56b571
- Update the last run id at the very end of run
f56b571
- Support short Fedora compose aliases in testcloud
f56b571
- Convert the finish step into dynamic plugins
f56b571
- Convert the report step into dynamic plugins
f56b571
- Convert the execute step into dynamic plugins
f56b571
- Escape package names during installation
f56b571
- Deduplicate inherited keys in test import [fix #8]
f56b571
f56b571
* Wed Apr 29 2020 Petr Šplíchal <psplicha@redhat.com> - 0.15-1
f56b571
- Implement executing the last run using --last
f56b571
- Adjust support for modifying plan templates
f56b571
- Add a way how to edit values in a new template
f56b571
- Explicitly mention supported distros in the docs
f56b571
- Convert provision/prepare into dynamic plugins
f56b571
- Describe difference between --verbose and --debug
f56b571
- Support fmf name references in docs, update spec
f56b571
- Support multiple verbose/debug levels [fix #191]
f56b571
- Remove forgotten 'Core' section from stories
f56b571
- Implement Plugin.show() for a full dynamic support
f56b571
- Improve the workdir handling in the Common class
f56b571
f56b571
* Thu Apr 16 2020 Petr Šplíchal <psplicha@redhat.com> - 0.14-1
f56b571
- Workaround yaml key sorting on rhel-8 [fix #207]
f56b571
- Fix test discovery from the execute step scripts
f56b571
- Merge discover step documentation and fixes [#204]
f56b571
- Document the discover step, fix issues, add tests
f56b571
- Simplify the minimal example, adjust tests
f56b571
- Move fmf_id() to Node class, minor adjustments
f56b571
- Allow to print fmf identifier in tmt tests show
f56b571
- Merge manual tests story and examples [#198]
f56b571
- Add a story and examples describing manual tests
f56b571
- Sync more extra-* attributes when exporting [#199]
f56b571
- Enable checks for essential test attributes
f56b571
- Handle require in Dicovery
f56b571
- Store imported metadata in a sane order [fix #86]
f56b571
- Enable Python 3.8 in Travis, update classifiers
f56b571
- Add missing 'require' attribute to the Test class
f56b571
- Fix long environment for run.sh [fix #126]
f56b571
- Merge dynamic plugins and wake up support [#186]
f56b571
- Implement dynamic plugins and options [fix #135]
f56b571
- Suggest using 'tmt init' when metadata not found
f56b571
- Merge improved import of tier from tags [#187]
f56b571
- Adjust tier import from test case tags
f56b571
- Merge tmt test export --nitrate --create [#185]
f56b571
- Adjust suppport for creating new nitrate testcases
f56b571
- Allow creation of nitrate cases when exporting
f56b571
- Create tier attribute from multiple Tier tags
f56b571
- Fix run.sh to work with RHEL/CentOS 7 as well
f56b571
- Implement wake up for Run, Step and Discover
f56b571
f56b571
* Wed Apr 01 2020 Petr Šplíchal <psplicha@redhat.com> - 0.13-1
f56b571
- Merge the improved test import checks [#179]
f56b571
- Adjust checks for missing metadata
f56b571
- Add checks for missing metadata.
f56b571
- Implement public_git_url() for git url conversion
f56b571
- Define required attributes and duration default
f56b571
3d35d5d
* Wed Mar 25 2020 Petr Šplíchal <psplicha@redhat.com> - 0.12-1
3d35d5d
- Import the testcloud module when needed [fix #175]
3d35d5d
- Update implementation coverage of stories & spec
3d35d5d
- Discover only enabled tests [fix #170]
3d35d5d
- Correctly handle missing nitrate module or config
3d35d5d
- Use raw string for regular expression search
3d35d5d
2ccd21c
* Mon Mar 23 2020 Petr Šplíchal <psplicha@redhat.com> - 0.11-1
2ccd21c
- Merge default images for podman/testcloud [#169]
2ccd21c
- Do not export empty environment to run.sh
2ccd21c
- Merge vagrant check for running connection [#156]
2ccd21c
- Adjust vagrant check for running connection
2ccd21c
- Merge test export into nitrate [#118]
2ccd21c
- Adjust 'tmt test export --nitrate' implementation
2ccd21c
- Use fedora as a default image for podman/testcloud
2ccd21c
- Move testcloud back to the extra requires
2ccd21c
- Always copy directory tree to the workdir
2ccd21c
- Add an example with test and plan in a single file
2ccd21c
- Do not run tests with an empty environment
2ccd21c
- Check for non-zero status upon yaml syntax errors
2ccd21c
- Export test cases to nitrate
2ccd21c
- Merge test import using testinfo.desc [#160]
2ccd21c
- Adjust test import using testinfo.desc
2ccd21c
- Use testinfo.desc as source of metadata
2ccd21c
- Add environment support to the discover step (#145)
2ccd21c
- Add a new story describing user and system config (#143)
2ccd21c
- Check if connection is running in Vagrant Provision
2ccd21c
2ccd21c
* Wed Mar 11 2020 Petr Šplíchal <psplicha@redhat.com> - 0.10-1
2ccd21c
- Merge fixed environment support in run.sh [#99]
2ccd21c
- Add container and testcloud to tmt-all requires (#157)
2ccd21c
- Rename dict_to_shell() to better match content
2ccd21c
- Make path mandatory in run.sh.
2ccd21c
- Handle execution better in run.sh
2ccd21c
- Implement --env for testcloud provisioner
2ccd21c
- Merge run --environment support for podman [#132]
2ccd21c
- Fix container destroy, plus some minor adjustments
2ccd21c
- Use cache 'unsafe' for testcloud (#150)
2ccd21c
- Add --env option and support in podman provisioner
2ccd21c
- Warn about missing metadata tree before importing
2ccd21c
- Move testcloud to base requires, update README (#153)
2ccd21c
- Destroy container in finish only if there is any
2ccd21c
- Merge tmt test import --nitrate --disabled [#146]
2ccd21c
- Adjust the disabled test import implementation
2ccd21c
- Add an overview of classes (where are we heading)
2ccd21c
- Import non-disabled tests
2ccd21c
- Add a 'Provision Options' section, update coverage
2ccd21c
- Support selecting objects under the current folder
2ccd21c
- Add a link to details about fmf inheritance
2ccd21c
- Move requirements under the Install section
2ccd21c
- Mock testcloud modules to successfully build docs
2ccd21c
- Include examples of plan inheritance [fix #127]
2ccd21c
- Update implementation coverage for cli stories
2ccd21c
- Add testcloud provisioner (#134)
2ccd21c
- Merge the new story for 'tmt run --latest' [#136]
2ccd21c
- Move run --latest story under run, fix code block
2ccd21c
- Fix invalid variable name in the convert example
2ccd21c
- Use 'skip' instead of 'without', simplify default
2ccd21c
- Add rerun cli shortcut
2ccd21c
- Make sure we run finish always
2ccd21c
- Update the docs making '--name=' necessary (#138)
2ccd21c
- Clarify environment priority, fix release typo
2ccd21c
- Add environment specification
2ccd21c
- Remove copr build job from packit (not necessary)
2ccd21c
- Use the 'extra-summary' in the output as well
2ccd21c
- Use 'nitrate' consistently for tcms-related stuff
2ccd21c
- Prefix all non-specification keys [fix #120]
2ccd21c
- Show a nice error for an invalid yaml [fix #121]
2ccd21c
- Move container plan to common provision examples
2ccd21c
- Remove tmt-all dependency on vagrant-libvirt
2ccd21c
- Do not use red for import info messages [fix #125]
2ccd21c
- Show a nice error for weird Makefiles [fix #108]
2ccd21c
2ccd21c
* Mon Feb 24 2020 Petr Šplíchal <psplicha@redhat.com> - 0.9-1
2ccd21c
- Rename the 'test convert' command to 'test import'
2ccd21c
- Include 'path' when importing virtual test cases
2ccd21c
- Extract test script from Makefile during convert
2ccd21c
- Do not import 'fmf-export' tag from nitrate [#119]
2ccd21c
- Merge the improved component import [#115]
2ccd21c
- Several adjustments to the component import
2ccd21c
- Merge the improved requires parsing [#113]
2ccd21c
- Fix parsing multiple requires from Makefile
2ccd21c
- Fail nicely if executed without provision (#112)
2ccd21c
- Make sure the copr command is available in dnf
2ccd21c
- Fix handling defaults for options, adjust wording
2ccd21c
- Read 'components' from nitrate when converting
2ccd21c
- Read requires as list when converting tests
2ccd21c
- Make it possible to pass script on cmdline
2ccd21c
- Mention libvirt and rsync in Fedora 30 workaround
2ccd21c
- Move podman image check and pull under go()
2ccd21c
- Simple destroy implementation for podman provision
2ccd21c
- Add Fedora 30 installation instructions [fix #105]
2ccd21c
- Merge podman support for the provision step [#106]
2ccd21c
- Several adjustments to the podman implementation
2ccd21c
- Fix _prepare_shell in podman provisioner
2ccd21c
- Add podman provisioner
2ccd21c
- Update the test case relevancy specification (#102)
2ccd21c
- Move copy_from_guest to provision/base.py (#75)
2ccd21c
- Several minor adjustments to the restraint story
2ccd21c
- Add user story for restraint
2ccd21c
- Merge different summaries for subpackages [#97]
2ccd21c
- Remove macro from the tmt-all subpackage summary
2ccd21c
- Add different summaries for sub-packages
2ccd21c
- Mention 'fmf-export' tag in the test export story
2ccd21c
- Merge optional PURPOSE in test convert [#89]
2ccd21c
- Handle missing duration or nitrate case in convert
2ccd21c
- Add support for wrap='auto' in utils.format()
2ccd21c
- Use local fmf repository for the basic plan (#94)
2ccd21c
- Merge test import documentation updates [#90]
2ccd21c
- Merge tag, status, pepa & hardware for test import
2ccd21c
- Several test import adjustments related to #91
2ccd21c
- Fix deduplication bug when converting tests
2ccd21c
- Read more attributes from nitrate when converting
2ccd21c
- Update examples doc for converting tests
2ccd21c
- Update execute step examples for shell
2ccd21c
- Simplify packit configuration using 'fedora-all' (#88)
2ccd21c
- Optional attributes when converting.
2ccd21c
- Update execute and report step specification
2ccd21c
- Add spec for results.yaml and report.yaml (#66)
2ccd21c
- Add a story for exporting tests into nitrate (#83)
2ccd21c
- Add the 'require' attribute into the L1 Metadata
2ccd21c
- Update the Metadata Specification link in README
2ccd21c
- Improve 'tmt test convert' command implementation
5d08122
4c6bb0f
* Wed Jan 15 2020 Petr Šplíchal <psplicha@redhat.com> - 0.8-1
4c6bb0f
- Do not create bash completion script during build
4c6bb0f
- Require the same version, fix changelog entry
4c6bb0f
- Create fmf for each tcms case when converting. (#78)
4c6bb0f
4c6bb0f
* Tue Jan 14 2020 Petr Šplíchal <psplicha@redhat.com> - 0.7-1
1cdeedc
- Make the package build for epel7 and epel8
1cdeedc
- Implement test discover from execute shell script
1cdeedc
- Disable /plan/helps for running in cruncher (#74)
1cdeedc
- Do not fail ansible execution on 'stty cols' error
1cdeedc
- Use a list for storing converted requires
1cdeedc
- Add Requires to main.fmf when converting tests (#65)
1cdeedc
- Fix command debug output to join tuples as well. (#77)
1cdeedc
- Set 80 chars for ansible-playbook on localhost
1cdeedc
- Use tmt to init tree, extra folder for playbooks
1cdeedc
- Fix log and error handling in execute
1cdeedc
- Fail in run.sh if there are Missing tests.
1cdeedc
- Use sudo in prepare step to allow local execution
1cdeedc
- Fix run_vagrant() to work with shell=True
1cdeedc
- Use tmt init --template, not --mini|--base|--full (#69)
1cdeedc
- Add a simple local provision plan to examples
1cdeedc
- Simplify step selection test, simple local example
1cdeedc
- Fix conflicting options, revert copr config
1cdeedc
- Add `--guest` support for the provision step
1cdeedc
- Depend on git-core and not the full git package (#64)
1cdeedc
- Use shell=True as a default in utils' run()
1cdeedc
- Put quotes in `pip install .[*]` in README (#67)
1cdeedc
- Use parent run context to check for enabled steps
1cdeedc
- Improve the enabled steps implementation
1cdeedc
- Add 'mock' to the extra test requires [fix #63]
1cdeedc
- Add a new story for developing upgrade tests
1cdeedc
- Update fedora targets for packit
1cdeedc
- Add vagrant to BuildRequires (needed to run tests)
1cdeedc
- Add stories for connecting to a provisioned box
1cdeedc
- Separate the provision step into multiple stories
1cdeedc
- Fix provision tests to work with older mock (#51)
1cdeedc
- Install the latest mock module for testing
1cdeedc
- Default to vagrant provision, use the tree root
1cdeedc
- Update documentation coverage links
1cdeedc
- Move new docs to examples, adjust style & content
1cdeedc
- Add prepare functionality to local provision
1cdeedc
- Import examples from @psss's talk
1cdeedc
- Add an argument to ProvisionBase.copy_from_guest (#41)
1cdeedc
- Remove unused imports, fix crash, shell prepare
1cdeedc
- Initial prepare and finish steps implementation
1cdeedc
- Document the vagrant-rsync-back plugin workaround
1cdeedc
- Fix beakerlib execution, show overall results
1cdeedc
- Better execute with logs and better run.sh
1cdeedc
- Implement 'tmt init --base' with working examples
1cdeedc
- Add git to the main package requires
1cdeedc
- Add tmt & python3-nitrate to the tmt-all requires
1cdeedc
- Create subpackage 'tmt-all' with all dependencies
1cdeedc
- Use package_data to package the test runner
1cdeedc
- Apply requested file mode in create_file()
1cdeedc
- Run tmt tests local by default, fix provision show
1cdeedc
- Implement image selection using provision --image
1cdeedc
- Do not re-raise tmt exceptions in debug mode
1cdeedc
- Package the runner, dry mode in Common.run()
1cdeedc
- Support multiline output in common display methods
1cdeedc
- Enable command line filtering in discover.shell
1cdeedc
- Default discover method has to be 'shell'
1cdeedc
- Fix Common.run() to capture all output, log all
1cdeedc
- Fix broken test/plan/story create, add some tests
1cdeedc
- Better config handling in ProvisionVagrant.
1cdeedc
- Implement 'sync-back' and simple VagrantProvision.
1cdeedc
1cdeedc
* Mon Nov 04 2019 Petr Šplíchal <psplicha@redhat.com> - 0.6-1
1cdeedc
- List all python packages in the setup.py
1cdeedc
- Initial implementation of the execute step
1cdeedc
- Vagrant Provider output and provider handling
1cdeedc
- Relay API methods to instances in provision
1cdeedc
- Simple localhost provisioner (#28)
1cdeedc
- Implement shell discover, add a simple example
1cdeedc
- Fix test path, discover in go(), adjust example
1cdeedc
- Add run.sh for running the tests on guest
1cdeedc
- Add default config for libvirt to use QEMU session
1cdeedc
1cdeedc
* Tue Oct 29 2019 Petr Šplíchal <psplicha@redhat.com> - 0.5-1
1cdeedc
- Implement common --filter and --condition options
1cdeedc
- Store step data during save()
1cdeedc
- Common logging methods, improve run() output
1cdeedc
- Implement common options and parent checking
1cdeedc
- Sync the whole plan workdir to the guest
1cdeedc
- Fix inheritance and enable --verbose mode.
1cdeedc
- Rename the main metadata tree option to --root
1cdeedc
- Adjust tests to skip provision, fix raw strings
1cdeedc
- Move example Vagrantfiles to examples
1cdeedc
- Implement ProvisionVagrant (#20)
1cdeedc
- Implement tests.yaml creation in discover
1cdeedc
- Implement 'tmt test export' with yaml support
1cdeedc
- Support checking parent options, fix plan show -v
1cdeedc
- Implement common methods status(), read(), write()
1cdeedc
- Implement run() to easily execute in the workdir
1cdeedc
- Implement DiscoverPlugin class, require step names
1cdeedc
- Move workdir handling into the Common class
1cdeedc
- Common class & filtering tests/plans for execution
1cdeedc
- Improve step handling, remove global variables
1cdeedc
- Fix 'tmt init --full' in a clean directory
1cdeedc
- Better handle defaults and command line options
1cdeedc
- Do not run systemd plan as it fetches remote repo
1cdeedc
- Add documentation generated files to gitignore
1cdeedc
- Get rid of the test attribute inconsistencies
1cdeedc
- Fix various issues in localhost provisioner skeleton
1cdeedc
- Update discover step story with example output
1cdeedc
- Add an example of a shell discover step
1cdeedc
- Add a simple smoke test story
1cdeedc
- Add base class for provisioner
1cdeedc
- Initial implementation of the discover step
1cdeedc
- Allow creating tmt tree under an existing one
1cdeedc
- Support multiple configs in Step.show()
1cdeedc
- Support and document optional dependencies install
1cdeedc
- Add an example of multiple configs
1cdeedc
- Convert step data to list, add execute check
1cdeedc
- Add --how option to provision command
1cdeedc
- Move step classes into separate directories
1cdeedc
- Implement class Run with workdir support
1cdeedc
- Add a workdir structure example
1cdeedc
- Separate metadata tree for L2 metadata examples
1cdeedc
- Add stories covering the Metadata Specification
1cdeedc
- Enable bash completion feature
1cdeedc
1cdeedc
* Thu Oct 17 2019 Petr Šplíchal <psplicha@redhat.com> - 0.4-1
1cdeedc
- Add tests for 'tmt init', allow overwritting
1cdeedc
- Use plural commands to prevent confusion [fix #10]
1cdeedc
- Add a link to Packit & Testing Farm documentation
1cdeedc
- Add a simple develop section to the readme
1cdeedc
- Split cli stories into multiple files
1cdeedc
- Cleanup convert example, simplify story example
1cdeedc
- Implement initialization with creating examples
1cdeedc
- Implement 'tmt {test,plan,story} show --verbose'
1cdeedc
- Implement 'tmt story create', add basic templates
1cdeedc
- Implement 'tmt plan create' plus initial templates
1cdeedc
- Add a new story for creating plans (enable CI)
1cdeedc
- Add basic rpm installation stories
1cdeedc
- Show test steps summary in plan show if provided
1cdeedc
- Add a Release Test Team installation tests example
1cdeedc
- Suggest git-like moving forward in tasks
1cdeedc
- Fix step names in 'tmt plan show' output
1cdeedc
- Update documentation overview with latest changes
1cdeedc
- Add story introduction, cleanup generated files
1cdeedc
- Generate documentation for user stories
1cdeedc
- Use raw string to prevent invalid escape sequence
1cdeedc
- Test Management Tool, it's not metadata only
1cdeedc
- Add a story for core option --debug
1cdeedc
- Add a story for the mock shortcut [fix #5, fix #6]
1cdeedc
- Add a story for core option --format
1cdeedc
- Propose a dream for hands-free debugging
1cdeedc
- Rename remaining testset occurences to plan
1cdeedc
- Implement 'tmt plan lint' with initial checks
1cdeedc
1cdeedc
* Thu Oct 10 2019 Petr Šplíchal <psplicha@redhat.com> - 0.3-1
1cdeedc
- Fix uncovered story filter logic, show total
1cdeedc
- Rename testsets to plans, simplify playbooks
1cdeedc
- Fix basic testset repo, install dependencies
1cdeedc
- Implement 'tmt init', add the corresponding story
1cdeedc
- Show overview of available tests, plans, stories
1cdeedc
- Implement 'tmt story coverage', update coverage
1cdeedc
- Implement 'tmt story --covered / --uncovered'
1cdeedc
- Rename testsest to plan to avoid common prefix
1cdeedc
1cdeedc
* Wed Oct 09 2019 Petr Šplíchal <psplicha@redhat.com> - 0.2-1
1cdeedc
- Enable Packit building and Testing Farm testing
1cdeedc
- Provide one-letter versions for select options
1cdeedc
- Implement 'tmt run --all' to run all test steps
1cdeedc
- Support command abbreviation, add related stories
1cdeedc
- Add the Quick Start Guide story to documention
1cdeedc
- Add coverage options to tmt story ls and show
1cdeedc
- Initialize metadata tree only when accessed
1cdeedc
- Remove show functionality from the 'run' command
1cdeedc
- Implement 'tmt test create' with basic templates
1cdeedc
- Implement 'tmt test lint' with some basic checks
1cdeedc
- Add user stories for core options and attributes
1cdeedc
- Implement 'tmt story show', couple of adjustments
1cdeedc
- Prevent alphabetical sorting of commands in help
1cdeedc
- Move unit tests into a separate directory
1cdeedc
- Align examples with the latest specification
1cdeedc
- Implement 'tmt show' for test and testset
1cdeedc
- Implement ls for test, testset and story commands
1cdeedc
- Add 'tmt test create' command to user stories
1cdeedc
- Add an initial set of basic tests
1cdeedc
- Update cli user stories, add api & docs stories
1cdeedc
- Add a couple of dreams for the bright future :-)
1cdeedc
f638a07
* Mon Sep 30 2019 Petr Šplíchal <psplicha@redhat.com> - 0.1-1
04f8967
- Initial packaging