Compare commits
10 Commits
ceb7b14c74
...
43d2230f15
Author | SHA256 | Date | |
---|---|---|---|
43d2230f15 | |||
1a0170f55d | |||
ae952d8749 | |||
96932b7b59 | |||
1dacb22af0 | |||
|
68e6637c42 | ||
4b685577b1 | |||
|
adf96c7800 | ||
|
a091426905 | ||
18f6411639 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:79686edd1fee4198572b4e0f2ed9176642fbb1637db09d67363684cfa6dcf9ed
|
||||
size 25895
|
3
Config-Model-Tester-4.007.tar.gz
Normal file
3
Config-Model-Tester-4.007.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f981ba0f44e937d95f558690cb2f58614b5d05fc74a85abf202399656f9069c0
|
||||
size 30943
|
@@ -1,3 +1,155 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 27 03:06:10 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 4.007
|
||||
see /usr/share/doc/packages/perl-Config-Model-Tester/Changes
|
||||
|
||||
4.007 2021-10-26
|
||||
|
||||
New feature:
|
||||
* add "data_from_group" test parameter to avoid duplicating
|
||||
fixtures between test groups
|
||||
|
||||
Doc fixes:
|
||||
* remove misleading example
|
||||
* clarify full_dump doc
|
||||
* fix broken links and typos
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 30 03:07:40 UTC 2020 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 4.006
|
||||
see /usr/share/doc/packages/perl-Config-Model-Tester/Changes
|
||||
|
||||
4.006 2020-07-29
|
||||
|
||||
Bug fixes:
|
||||
* Disable log test when --log option is used, otherwise debug logs
|
||||
are not shown
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 10 03:10:44 UTC 2019 - <timueller+perl@suse.de>
|
||||
|
||||
- updated to 4.005
|
||||
see /usr/share/doc/packages/perl-Config-Model-Tester/Changes
|
||||
|
||||
4.005 2019-12-09
|
||||
|
||||
Bug fixes:
|
||||
* fix setup with symlinks
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 14 09:23:06 UTC 2019 - <timueller+perl@suse.de>
|
||||
|
||||
- updated to 4.004
|
||||
see /usr/share/doc/packages/perl-Config-Model-Tester/Changes
|
||||
|
||||
4.004 2019-11-10
|
||||
|
||||
Main change:
|
||||
* test setup can now create symlink to actual files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 10 05:04:26 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
- updated to 4.003
|
||||
see /usr/share/doc/packages/perl-Config-Model-Tester/Changes
|
||||
|
||||
4.003 2019-05-09
|
||||
|
||||
Bug fixes:
|
||||
* require perl 5.12.0 in dist.ini
|
||||
|
||||
Mist:
|
||||
* update copyright year
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 6 05:03:29 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
- updated to 4.002
|
||||
see /usr/share/doc/packages/perl-Config-Model-Tester/Changes
|
||||
|
||||
4.002 2019-05-01
|
||||
|
||||
Bug fixes:
|
||||
* require perl 5.12.0
|
||||
* accept list of hash ref as well as list of array ref as
|
||||
config_classes parameter
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 30 05:05:17 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
- updated to 4.001
|
||||
see /usr/share/doc/packages/perl-Config-Model-Tester/Changes
|
||||
|
||||
4.001 2019-04-29
|
||||
|
||||
Main change:
|
||||
* Deprecate global variables used in test specs. The tests now
|
||||
should be specified with a data structure instead of using
|
||||
global variables. Using global variable is now deprecated.
|
||||
|
||||
Doc changes:
|
||||
* Update Tester doc for deprecated global variables
|
||||
* Add credits list with Cyrille as first contributor
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 13 06:04:18 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
- updated to 3.007
|
||||
see /usr/share/doc/packages/perl-Config-Model-Tester/Changes
|
||||
|
||||
3.007 2019-01-12
|
||||
|
||||
New feature:
|
||||
* add $app_to_test variable to specify which application
|
||||
to test instead of specifying directly the model to test
|
||||
* check parameter can specify more that one test per value
|
||||
|
||||
Bug fix:
|
||||
* don't always warn about deprecated dump_warnings
|
||||
* improve bad option error message
|
||||
|
||||
Doc changes:
|
||||
* remove mentions of sourceforge mailing list
|
||||
* improve code style in examples
|
||||
* fix error in Setup pod doc
|
||||
* Tester pod: fix links to Config::Model methods
|
||||
* Tester doc: fix examples to run tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 7 21:48:12 UTC 2018 - Dirk Stoecker <opensuse@dstoecker.de>
|
||||
|
||||
- Fix autogenerated changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 15 05:07:14 UTC 2018 - coolo@suse.com
|
||||
|
||||
- updated to 3.006
|
||||
see /usr/share/doc/packages/perl-Config-Model-Tester/Changes
|
||||
|
||||
3.006 2018-04-14
|
||||
|
||||
* Tester: can call run_tests without arguments. Calling
|
||||
run_tests with arguments is deprecated
|
||||
* Setup: allow customised command line options (command line
|
||||
args are processed by init_test)
|
||||
* Setup: fix synopsis
|
||||
* init_test: initialize log4perl when -l option is passed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 05:06:59 UTC 2018 - coolo@suse.com
|
||||
|
||||
- updated to 3.005
|
||||
see /usr/share/doc/packages/perl-Config-Model-Tester/Changes
|
||||
|
||||
3.005 2018-04-02
|
||||
|
||||
* Setup: clarify doc
|
||||
* check dump, update and load warnings with
|
||||
Test::Log::Log4Perl
|
||||
* requires Test::Log::Log4Perl
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 29 05:07:03 UTC 2018 - coolo@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Config-Model-Tester
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,31 +12,32 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: perl-Config-Model-Tester
|
||||
Version: 3.004
|
||||
Release: 0
|
||||
%define cpan_name Config-Model-Tester
|
||||
Summary: Test framework for Config::Model
|
||||
Name: perl-Config-Model-Tester
|
||||
Version: 4.7.0
|
||||
Release: 0
|
||||
# 4.007 -> normalize -> 4.7.0
|
||||
%define cpan_version 4.007
|
||||
License: LGPL-2.1-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Config-Model-Tester/
|
||||
Source0: https://cpan.metacpan.org/authors/id/D/DD/DDUMONT/%{cpan_name}-%{version}.tar.gz
|
||||
Summary: Test framework for Config::Model
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/D/DD/DDUMONT/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(File::Copy::Recursive)
|
||||
BuildRequires: perl(Log::Log4perl) >= 1.11
|
||||
BuildRequires: perl(Module::Build) >= 0.340000
|
||||
BuildRequires: perl(Module::Build) >= 0.34
|
||||
BuildRequires: perl(Path::Tiny)
|
||||
BuildRequires: perl(Test::Differences)
|
||||
BuildRequires: perl(Test::Exception)
|
||||
BuildRequires: perl(Test::File::Contents)
|
||||
BuildRequires: perl(Test::Log::Log4perl)
|
||||
BuildRequires: perl(Test::Memory::Cycle)
|
||||
BuildRequires: perl(Test::Warn)
|
||||
Requires: perl(File::Copy::Recursive)
|
||||
@@ -45,33 +46,36 @@ Requires: perl(Path::Tiny)
|
||||
Requires: perl(Test::Differences)
|
||||
Requires: perl(Test::Exception)
|
||||
Requires: perl(Test::File::Contents)
|
||||
Requires: perl(Test::Log::Log4perl)
|
||||
Requires: perl(Test::Memory::Cycle)
|
||||
Requires: perl(Test::Warn)
|
||||
Provides: perl(Config::Model::Tester) = %{version}
|
||||
Provides: perl(Config::Model::Tester::Setup) = %{version}
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
This class provides a way to test configuration models with tests files.
|
||||
This class was designed to tests several models and several tests cases per
|
||||
model.
|
||||
This class was designed to tests several models and run several tests cases
|
||||
per model.
|
||||
|
||||
A specific layout for test files must be followed.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
./Build build flags=%{?_smp_mflags}
|
||||
perl Build.PL --installdirs=vendor
|
||||
./Build build --flags=%{?_smp_mflags}
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
%install
|
||||
./Build install destdir=%{buildroot} create_packlist=0
|
||||
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes
|
||||
%license LICENSE
|
||||
|
||||
|
Reference in New Issue
Block a user