Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-Test-Routine
perl-Test-Routine.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Test-Routine.spec of Package perl-Test-Routine
# # spec file for package perl-Test-Routine # # Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define cpan_name Test-Routine Name: perl-Test-Routine Version: 0.031 Release: 0 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Composable units of assertion URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Class::Load) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.78 BuildRequires: perl(Moose) BuildRequires: perl(Moose::Exporter) BuildRequires: perl(Moose::Meta::Class) BuildRequires: perl(Moose::Meta::Method) BuildRequires: perl(Moose::Role) BuildRequires: perl(Moose::Util) BuildRequires: perl(Moose::Util::TypeConstraints) BuildRequires: perl(Params::Util) BuildRequires: perl(Sub::Exporter) BuildRequires: perl(Sub::Exporter::Util) BuildRequires: perl(Test2::API) >= 1.302045 BuildRequires: perl(Test::Abortable) >= 0.002 BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::Moose) BuildRequires: perl(Test::More) >= 0.96 BuildRequires: perl(Try::Tiny) BuildRequires: perl(namespace::autoclean) BuildRequires: perl(namespace::clean) Requires: perl(Class::Load) Requires: perl(Moose) Requires: perl(Moose::Exporter) Requires: perl(Moose::Meta::Class) Requires: perl(Moose::Meta::Method) Requires: perl(Moose::Role) Requires: perl(Moose::Util) Requires: perl(Moose::Util::TypeConstraints) Requires: perl(Params::Util) Requires: perl(Sub::Exporter) Requires: perl(Sub::Exporter::Util) Requires: perl(Test2::API) >= 1.302045 Requires: perl(Test::Abortable) >= 0.002 Requires: perl(Test::More) >= 0.96 Requires: perl(Try::Tiny) Requires: perl(namespace::autoclean) Requires: perl(namespace::clean) %{perl_requires} %description Test::Routine is a very simple framework for writing your tests as composable units of assertion. In other words: roles. For a walkthrough of tests written with Test::Routine, see Test::Routine::Manual::Demo. Test::Routine is similar to Test::Class in some ways. These similarities are largely superficial, but the idea of "tests bound together in reusable units" is a useful one to understand when coming to Test::Routine. If you are already familiar with Test::Class, it is the differences rather than the similarities that will be more important to understand. If you are not familiar with Test::Class, there is no need to understand it prior to using Test::Routine. On the other hand, an understanding of the basics of Moose is absolutely essential. Test::Routine composes tests from Moose classes, roles, and attributes. Without an understanding of those, you will not be able to use Test::Routine. The Moose::Manual is an excellent resource for learning Moose, and has links to other online tutorials and documentation. %prep %autosetup -n %{cpan_name}-%{version} %build perl Makefile.PL INSTALLDIRS=vendor %make_build %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %doc Changes README %license LICENSE %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor