%global _empty_manifest_terminate_build 0 Name: python-testflows Version: 1.9.60 Release: 1 Summary: TestFlows.com Open-Source Software Testing Framework License: Apache-2.0 URL: https://github.com/testflows/testflows Source0: https://mirrors.nju.edu.cn/pypi/web/packages/e0/3e/2db88d52f390b07bfdb48c97279ec87e6270480d7ecfec46dfc0a8dd57c7/testflows-1.9.60.tar.gz BuildArch: noarch %description # TestFlows.com Open-Source Software Testing Framework ![TestFlows.com Open-Source Software Testing Framework](https://raw.githubusercontent.com/testflows/TestFlows-ArtWork/master/images/logo.png) ## Introduction [TestFlows.com Open-Source Software Testing Framework] is a **flow** oriented test framework that can be used for functional, integration, acceptance and unit testing. It uses **everything is a test** approach with the focus on providing test designers flexibility in writing and running their tests. ## Documentation You can find [TestFlows.com Open-Source Software Testing Framework]'s documentation at https://testflows.com. ## Supported environment * [Ubuntu] 20.04 * [Python 3] >= 3.8 ## Installation You can install [TestFlows.com Open-Source Software Testing Framework] using [pip3] ```bash $ pip3 install testflows ``` or from sources ```bash $ git clone https://github.com/testflows/TestFlows.git $ cd TestFlows $ ./build && ./install ``` ## Styles [TestFlows.com Open-Source Software Testing Framework] supports defining tests using either the traditional keywords * **Module**, **Suite**, **Test**, and **Step** or using keywords such as * **Module**, **Feature**, **Scenario**, **Given**, **When**, **Then**, **But**, **And**, **By** and **Finally** ## Hello TestFlows An inline test scenario can be defined as follows ```python from testflows.core import Scenario with Scenario("Hello TestFlows!"): pass ``` then just run it using `python3` command ```bash $ python3 ./test.py Jul 12,2020 14:30:20 ⟥ Scenario Hello TestFlows! 1ms ⟥⟤ OK Hello TestFlows!, /Hello TestFlows! Passing ✔ [ OK ] /Hello TestFlows! 1 scenario (1 ok) Total time 2ms Executed on Jul 12,2020 14:30 TestFlows.com Open-Source Software Testing Framework v1.6.200712.1132037 ``` ## Want to know more? Find more information about [TestFlows.com Open-Source Software Testing Framework] at https://testflows.com. Join our channel on [Telegram]. [TestFlows.com Open-Source Software Testing Framework]: https://testflows.com [Telegram]: https://telegram.me/testflows [pip3]: https://github.com/pypa/pip [Python 3]: https://www.python.org/ [Ubuntu]: https://ubuntu.com/ %package -n python3-testflows Summary: TestFlows.com Open-Source Software Testing Framework Provides: python-testflows BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-testflows # TestFlows.com Open-Source Software Testing Framework ![TestFlows.com Open-Source Software Testing Framework](https://raw.githubusercontent.com/testflows/TestFlows-ArtWork/master/images/logo.png) ## Introduction [TestFlows.com Open-Source Software Testing Framework] is a **flow** oriented test framework that can be used for functional, integration, acceptance and unit testing. It uses **everything is a test** approach with the focus on providing test designers flexibility in writing and running their tests. ## Documentation You can find [TestFlows.com Open-Source Software Testing Framework]'s documentation at https://testflows.com. ## Supported environment * [Ubuntu] 20.04 * [Python 3] >= 3.8 ## Installation You can install [TestFlows.com Open-Source Software Testing Framework] using [pip3] ```bash $ pip3 install testflows ``` or from sources ```bash $ git clone https://github.com/testflows/TestFlows.git $ cd TestFlows $ ./build && ./install ``` ## Styles [TestFlows.com Open-Source Software Testing Framework] supports defining tests using either the traditional keywords * **Module**, **Suite**, **Test**, and **Step** or using keywords such as * **Module**, **Feature**, **Scenario**, **Given**, **When**, **Then**, **But**, **And**, **By** and **Finally** ## Hello TestFlows An inline test scenario can be defined as follows ```python from testflows.core import Scenario with Scenario("Hello TestFlows!"): pass ``` then just run it using `python3` command ```bash $ python3 ./test.py Jul 12,2020 14:30:20 ⟥ Scenario Hello TestFlows! 1ms ⟥⟤ OK Hello TestFlows!, /Hello TestFlows! Passing ✔ [ OK ] /Hello TestFlows! 1 scenario (1 ok) Total time 2ms Executed on Jul 12,2020 14:30 TestFlows.com Open-Source Software Testing Framework v1.6.200712.1132037 ``` ## Want to know more? Find more information about [TestFlows.com Open-Source Software Testing Framework] at https://testflows.com. Join our channel on [Telegram]. [TestFlows.com Open-Source Software Testing Framework]: https://testflows.com [Telegram]: https://telegram.me/testflows [pip3]: https://github.com/pypa/pip [Python 3]: https://www.python.org/ [Ubuntu]: https://ubuntu.com/ %package help Summary: Development documents and examples for testflows Provides: python3-testflows-doc %description help # TestFlows.com Open-Source Software Testing Framework ![TestFlows.com Open-Source Software Testing Framework](https://raw.githubusercontent.com/testflows/TestFlows-ArtWork/master/images/logo.png) ## Introduction [TestFlows.com Open-Source Software Testing Framework] is a **flow** oriented test framework that can be used for functional, integration, acceptance and unit testing. It uses **everything is a test** approach with the focus on providing test designers flexibility in writing and running their tests. ## Documentation You can find [TestFlows.com Open-Source Software Testing Framework]'s documentation at https://testflows.com. ## Supported environment * [Ubuntu] 20.04 * [Python 3] >= 3.8 ## Installation You can install [TestFlows.com Open-Source Software Testing Framework] using [pip3] ```bash $ pip3 install testflows ``` or from sources ```bash $ git clone https://github.com/testflows/TestFlows.git $ cd TestFlows $ ./build && ./install ``` ## Styles [TestFlows.com Open-Source Software Testing Framework] supports defining tests using either the traditional keywords * **Module**, **Suite**, **Test**, and **Step** or using keywords such as * **Module**, **Feature**, **Scenario**, **Given**, **When**, **Then**, **But**, **And**, **By** and **Finally** ## Hello TestFlows An inline test scenario can be defined as follows ```python from testflows.core import Scenario with Scenario("Hello TestFlows!"): pass ``` then just run it using `python3` command ```bash $ python3 ./test.py Jul 12,2020 14:30:20 ⟥ Scenario Hello TestFlows! 1ms ⟥⟤ OK Hello TestFlows!, /Hello TestFlows! Passing ✔ [ OK ] /Hello TestFlows! 1 scenario (1 ok) Total time 2ms Executed on Jul 12,2020 14:30 TestFlows.com Open-Source Software Testing Framework v1.6.200712.1132037 ``` ## Want to know more? Find more information about [TestFlows.com Open-Source Software Testing Framework] at https://testflows.com. Join our channel on [Telegram]. [TestFlows.com Open-Source Software Testing Framework]: https://testflows.com [Telegram]: https://telegram.me/testflows [pip3]: https://github.com/pypa/pip [Python 3]: https://www.python.org/ [Ubuntu]: https://ubuntu.com/ %prep %autosetup -n testflows-1.9.60 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-testflows -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Fri May 05 2023 Python_Bot - 1.9.60-1 - Package Spec generated