Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failures (with old Test::V0?) #1

Closed
eserte opened this issue Jun 27, 2019 · 3 comments
Closed

Test failures (with old Test::V0?) #1

eserte opened this issue Jun 27, 2019 · 3 comments

Comments

@eserte
Copy link

eserte commented Jun 27, 2019

On some of my smoker systems the test suite is failing:

    # Failed test 'args is ["Foo"]'
    # at t/02_parameters.t line 227.
    # +------+----------------------------------+--------+
    # | PATH | GOT                              | CHECK  |
    # +------+----------------------------------+--------+
    # | [0]  | Sub::Meta::Param=HASH(0x2c64ad0) | <HASH> |
    # +------+----------------------------------+--------+
    # Failed test '_all_positional_required is ["Foo"]'
    # at t/02_parameters.t line 227.
    # +------+----------------------------------+--------+
    # | PATH | GOT                              | CHECK  |
    # +------+----------------------------------+--------+
    # | [0]  | Sub::Meta::Param=HASH(0x2c64ad0) | <HASH> |
    # +------+----------------------------------+--------+
    # Failed test 'positional is ["Foo"]'
    # at t/02_parameters.t line 227.
    # +------+----------------------------------+--------+
    # | PATH | GOT                              | CHECK  |
    # +------+----------------------------------+--------+
    # | [0]  | Sub::Meta::Param=HASH(0x2c64ad0) | <HASH> |
    # +------+----------------------------------+--------+
    # Failed test 'positional_required is ["Foo"]'
    # at t/02_parameters.t line 227.
    # +------+----------------------------------+--------+
    # | PATH | GOT                              | CHECK  |
    # +------+----------------------------------+--------+
    # | [0]  | Sub::Meta::Param=HASH(0x2c64ad0) | <HASH> |
    # +------+----------------------------------+--------+

# Failed test 'parameters: {"args":["Foo"]}'
# at t/02_parameters.t line 229.
... (etc) ...

This seems to happen if Test::V0 is too old. Statistical analysis (theta=0 means "bad"):

****************************************************************
Regression 'mod:Test2::V0'
****************************************************************
Name           	       Theta	      StdErr	 T-stat
[0='const']    	     -0.0000	      0.0000	 -31.23
[1='eq_0.000077']	      0.0000	      0.0000	   6.25
[2='eq_0.000083']	     -0.0000	      0.0000	 -15.80
[3='eq_0.000111']	      1.0000	      0.0000	42529014353855472.00
[4='eq_0.000114']	      1.0000	      0.0000	64964142502802048.00
[5='eq_0.000115']	      1.0000	      0.0000	56260597742498936.00
[6='eq_0.000116']	      1.0000	      0.0000	56260597742498904.00
[7='eq_0.000117']	      1.0000	      0.0000	64964142502802008.00
[8='eq_0.000118']	      1.0000	      0.0000	42529014353855448.00
[9='eq_0.000119']	      1.0000	      0.0000	79564500354659104.00
[10='eq_0.000121']	      1.0000	      0.0000	99234366825662720.00
[11='eq_0.000122']	      1.0000	      0.0000	106206484328259184.00

R^2= 1.000, N= 100, K= 12
****************************************************************
kfly8 added a commit that referenced this issue Jul 1, 2019
@kfly8
Copy link
Owner

kfly8 commented Jul 1, 2019

Thank you for reporting!
It will be fixed in the next version!

kfly8 added a commit that referenced this issue Jul 4, 2019
Changelog diff is:

diff --git a/Changes b/Changes
index e571cf2..520cf46 100644
--- a/Changes
+++ b/Changes
@@ -2,6 +2,10 @@ Revision history for Perl extension Sub-Meta

 {{$NEXT}}

+0.02 2019-07-04T14:14:17Z
+    - Fixed test #1 (Thanks @eserte)
+    - Sync subinfo #2
+
 0.01 2019-06-27T10:59:04Z

     - original version
@kfly8
Copy link
Owner

kfly8 commented Jul 5, 2019

@eserte
Copy link
Author

eserte commented Jul 5, 2019

Looks good: http://matrix.cpantesters.org/?dist=Sub-Meta+0.02

@eserte eserte closed this as completed Jul 5, 2019
kfly8 added a commit that referenced this issue Jul 5, 2019
Changelog diff is:

diff --git a/Changes b/Changes
index 520cf46..f26ee6a 100644
--- a/Changes
+++ b/Changes
@@ -2,6 +2,9 @@ Revision history for Perl extension Sub-Meta

 {{$NEXT}}

+0.03 2019-07-05T06:59:02Z
+    - improve coverage
+
 0.02 2019-07-04T14:14:17Z
     - Fixed test #1 (Thanks @eserte)
     - Sync subinfo #2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants