start categorizing these
[gitmo/Moose.git] / xt / author / test-my-dependents.t
CommitLineData
f81522ba 1use strict;
2use warnings;
3
4use Cwd qw( abs_path );
5use Test::More;
6
52c21688 7BEGIN {
8 plan skip_all => 'This test will not run unless you set MOOSE_TEST_MD to a true value'
9 unless $ENV{MOOSE_TEST_MD};
10}
f81522ba 11
4d438a84 12use Test::Requires {
03fd72d0 13 'Test::DependentModules' => '0.09', # skip all if not installed
479647ca 14 'MetaCPAN::API' => '0.33',
4d438a84 15};
dd36d4e9 16use Test::DependentModules qw( test_all_dependents test_modules );
f81522ba 17
7028866a 18use DateTime;
479647ca 19use List::MoreUtils qw(any);
7028866a 20use Moose ();
7028866a 21
41a0b2a9 22diag( 'Test run performed at: '
23 . DateTime->now
479647ca 24 . ' with Moose '
41a0b2a9 25 . Moose->VERSION );
7028866a 26
f81522ba 27$ENV{PERL_TEST_DM_LOG_DIR} = abs_path('.');
e2f01bb9 28delete @ENV{ qw( AUTHOR_TESTING RELEASE_TESTING SMOKE_TESTING ) };
f81522ba 29
479647ca 30my $mcpan = MetaCPAN::API->new;
31my $res = $mcpan->post(
32 '/release/_search' => {
33 query => { match_all => {} },
34 size => 5000,
35 filter => { and => [
36 { or => [
37 { term => { 'release.dependency.module' => 'Moose' } },
38 { term => { 'release.dependency.module' => 'Moose::Role' } },
39 { term => { 'release.dependency.module' => 'Moose::Exporter' } },
40 { term => { 'release.dependency.module' => 'Class::MOP' } },
41 { term => { 'release.dependency.module' => 'MooseX::Role::Parameterized' } },
42 ] },
43 { term => { 'release.status' => 'latest' } },
44 { term => { 'release.maturity' => 'released' } },
45 ] },
46 fields => 'distribution'
47 }
48);
f81522ba 49
479647ca 50my %skip = map { $_ => 1 } grep { /\w/ } map { chomp; s/\s*#.*$//; $_ } <DATA>;
51my @skip_prefix = qw(Acme Task Bundle);
52my %name_fix = (
53 'App-PipeFilter' => 'App::PipeFilter::Generic',
54 'Constructible' => 'Constructible::Maxima',
55 'DCOLLINS-ANN-Locals' => 'DCOLLINS::ANN::Robot',
56 'Dist-Zilla-Deb' => 'Dist::Zilla::Plugin::Deb::VersionFromChangelog',
57 'Dist-Zilla-Plugin-TemplateFile' => 'Dist::Zilla::Plugin::TemplateFiles',
58 'Dist-Zilla-Plugins-CJM' => 'Dist::Zilla::Plugin::TemplateCJM',
59 'OWL-Simple' => 'OWL::Simple::Class',
60 'Patterns-ChainOfResponsibility' => 'Patterns::ChainOfResponsibility::Application',
61 'Role-Identifiable' => 'Role::Identifiable::HasIdent',
62 'X11-XCB' => 'X11::XCB::Connection',
63 'XML-Ant-BuildFile' => 'XML::Ant::BuildFile::Project',
64 'helm' => 'Helm',
65 'marc-moose' => 'MARC::Moose',
66 'mobirc' => 'App::Mobirc',
67 'smokebrew' => 'App::SmokeBrew',
68 'v6-alpha' => 'v6',
69);
70my @modules = map { exists $name_fix{$_} ? $name_fix{$_} : $_ }
71 sort
72 grep { !$skip{$_} }
73 grep { my $dist = $_; !any { $dist =~ /^$_-/ } @skip_prefix }
74 map { $_->{fields}{distribution} }
75 @{ $res->{hits}{hits} };
76
77plan tests => scalar @modules;
78test_modules(@modules);
c5e3151e 79
734e40ed 80# Modules that are known to fail
81# PRANG - failing for quite some time (since before 2.0400)
82
c5e3151e 83__DATA__
479647ca 84# notes:
85# need Archive::Zip, or .zip dists won't be able to be installed
86
87# won't build, for actual reasons:
88App-CPAN2Pkg # Tk doesn't compile
89App-Fotagger # Imager doesn't compile
90Black-Board # not found on cpan because of mxd
91CM-Permutation # OpenGL uses graphics in Makefile.PL
92Dackup # depends on running ssh
93Date-Biorhythm # Date::Business prompts in Makefile.PL
94Data-Collector # depends on running ssh
95POE-Component-OpenSSH # depends on running ssh
96Perl-Dist-Strawberry-BuildPerl-5123 # windows only
97Perl-Dist-WiX # windows only
98Perl-Dist-WiX-BuildPerl-5123 # windows only
99Test-SFTP # Term::ReadPassword prompts in tests
100VirtualBox-Manage # not found on cpan because of mxd
101helm # depends on running ssh
102
103# won't build, for unknown reasons
104App-HistHub # ???
105App-Twitch # ???
106CPAN-Patches # ???
107CPAN-Patches-Plugin-Debian # ???
108Debian-Apt-PM # ???
109Dist-Zilla-Plugin-BuildSelf # ???
110Dist-Zilla-Plugin-ModuleBuildTiny # ???
111Lingua-TreeTagger # ???
112POE-Component-CPAN-Mirror-Multiplexer # ???
113POE-Component-Client-CouchDB # ???
114POE-Component-Github # ???
115POE-Component-Metabase-Relay-Server # ???
116POE-Component-Server-SimpleHTTP-PreFork # ???
117Tapper-Testplan # ??? (hangs)
118Test-Daily # ???
119WWW-Alltop # ???
120WWW-Hashdb # ??? (hangs, pegging cpu)
121WebService-Async # ??? (hangs, pegging cpu)
122WebService-LOC-CongRec # ???
123Zucchini # ??? (hangs)
124
125# not in cpan index for some reason
126Dist-Zilla-Plugin-Test-DistManifest # not found on cpan (?)
127Dist-Zilla-Plugin-Test-MinimumVersion # not found on cpan (?)
128Dist-Zilla-Plugin-Test-Portability # not found on cpan (?)
129Dist-Zilla-Plugin-Test-Synopsis # not found on cpan (?)
130Dist-Zilla-Plugin-Test-UnusedVars # not found on cpan (?)
131Hopkins # not found on cpan (?)
132PostScript-Barcode # not found on cpan (?)
133
8f655ca2 134# failing for a reason
135AI-ExpertSystem-Advanced # no tests
136API-Assembla # no tests
137Algorithm-KernelKMeans # mx-types-common changes broke it
138AnyEvent-Inotify-Simple # ??? (maybe issue with test::sweet)
139AnyEvent-JSONRPC # tests require recommended deps
140AnyEvent-Retry # mx-types-common changes broke it
141AnyEvent-ZeroMQ # requires zeromq installation
142App-Dataninja # bad M::I install in inc/
143App-ForExample # getopt::chain is broken
144App-Magpie # deps on URPM which doesn't exist
145App-PgCryobit # requires postgres installation
146App-TemplateServer # broken use of types
147App-TemplateServer-Provider-HTML-Template # dep on app-templateserver
148App-TemplateServer-Provider-Mason # dep on app-templateserver
149App-TemplateServer-Provider-TD # dep on app-templateserver
150App-TimeTracker # git::repository is broken
151App-USBKeyCopyCon # gtk tests are graphical
152App-mkfeyorm # no tests
153Archive-RPM # requires cpio
154Bio-MAGETAB # datetime-format-datemanip is broken
155Bot-Applebot # no tests
156Bot-Backbone # broken deps
157Business-UPS-Tracking # broken
158CHI-Driver-Redis # requires redis server
159CPAN-Mini-Webserver # undeclared dep on lingua-stopwords
160Cache-Profile # broken
161Catalyst-Authentication-Credential-Facebook-OAuth2 # no tests
162Catalyst-Authentication-Store-Fey-ORM # no tests
163Catalyst-Authentication-Store-LDAP-AD-Class # pod coverage fail
164Catalyst-Controller-MovableType # no tests
165Catalyst-Controller-Resources # broken
166
167# dep resolution failures or something (these pass when run manually)
479647ca 168AXL-Client-Simple
479647ca 169Alien-ActiveMQ
170Alien-Ditaa
479647ca 171App-Benchmark-Accessors
479647ca 172Bot-BasicBot-Pluggable
173Bot-BasicBot-Pluggable-Module-JIRA
479647ca 174CPAN-Digger
479647ca 175Cantella-Worker
176Cantella-Worker-Role-Beanstalk
8f655ca2 177
178# failing for some reason or another (need to look into this)
479647ca 179Catalyst-Engine-Stomp
180Catalyst-Model-MenuGrinder
181Catalyst-Model-Search-ElasticSearch
182Catalyst-Model-Sedna
183Catalyst-Plugin-Continuation
184Catalyst-Plugin-ErrorCatcher-ActiveMQ-Stomp
185Catalyst-Plugin-Session
186Catalyst-Plugin-SwiffUploaderCookieHack
187Catalyst-TraitFor-Component-ConfigPerSite
188Catalyst-TraitFor-Controller-jQuery-jqGrid
189Catalyst-View-ByCode
190Catalyst-View-RDF
191CatalystX-Declare
192CatalystX-MooseComponent
193CatalystX-Restarter-GTK
194CatalystX-RoleApplicator
195CatalystX-SimpleAPI
196CatalystX-SimpleLogin
197CatalystX-Syntax-Action
198CatalystX-Usul
199Cave-Wrapper
200Chart-Clicker
201Chart-Weather-Forecast
202Cheater
203Chef
204Class-OWL
205Code-Statistics
206Cogwheel
207Constructible
208Coro-Amazon-SimpleDB
209Crypt-PBKDF2
210Curses-Toolkit
211DBICx-Modeler-Generator
212DBIx-Class-DeploymentHandler
213DBIx-PgLink
214DBIx-SchemaChecksum
215Data-Apache-mod_status
216Data-PackageName
217Data-Pipeline
218Data-SearchEngine-ElasticSearch
219DayDayUp
220Devel-Events
221Devel-IntelliPerl
222Dist-Zilla-Plugin-DualLife
223Dist-Zilla-Plugin-GitFlow
224Dist-Zilla-Plugin-MetaResourcesFromGit
225Dist-Zilla-Plugin-ProgCriticTests
226Dist-Zilla-Plugin-Rsync
227Dist-Zilla-Plugin-SVK
228Dist-Zilla-Plugin-Test-CPAN-Changes
229Dist-Zilla-Plugin-Test-Kwalitee
230Dist-Zilla-PluginBundle-ARODLAND
231Dist-Zilla-PluginBundle-Author-OLIVER
232Dist-Zilla-PluginBundle-FLORA
233Dist-Zilla-PluginBundle-NIGELM
234Dist-Zilla-PluginBundle-NUFFIN
235Dist-Zilla-PluginBundle-RBUELS
236DustyDB
237ELF-Extract-Sections
238ETLp
239FCGI-Engine
240FFmpeg-Thumbnail
241Fedora-App-MaintainerTools
242Fedora-App-ReviewTool
243Fey-SQL-Pg
244File-DataClass
245Finance-Bank-SentinelBenefits-Csv401kConverter
246Finance-Bank-SuomenVerkkomaksut
247Forest-Tree-Viewer-Gtk2
248Form-Factory
249Frost
250GOBO
251Games-AssaultCube
252Games-HotPotato
253Games-Pandemic
254Games-RailRoad
255Games-Risk
256Games-Tetris-Complete
257Gearman-Driver
258Geo-Calc
259Getopt-Chain
260Gitalist
261Google-Spreadsheet-Agent
262Grades
263Graphics-Primitive-Driver-Cairo
264Graphics-Primitive-Driver-CairoPango
265HTML-FormHandler
266HTML-FormHandler-Model-DBIC
267HTML-TreeBuilderX-ASP_NET
268Hobocamp
269Horris
270IM-Engine-Plugin-Dispatcher
271IMS-CP-Manifest
272IO-Multiplex-Intermediary
273Image-Placeholder
274JavaScript-Framework-jQuery
275Jungle
276Kafka-Client
277Kamaitachi
278KiokuDB-Backend-BDB
279KiokuDB-Backend-Files
280LWP-UserAgent-OfflineCache
281Locale-Handle-Pluggable
282Locale-MO-File
283Log-Dispatch-Gtk2-Notify
284MSWord-ToHTML
285Mail-Summary-Tools
286Mason
287MediaWiki-USERINFO
288Mildew
289MooseX-APIRole
290MooseX-Attribute-Prototype
291MooseX-AutoImmute
292MooseX-DBIC-Scaffold
293MooseX-DOM
294MooseX-Declare
295MooseX-Documenter
296MooseX-Error-Exception-Class
297MooseX-Meta-Attribute-Index
298MooseX-Meta-Attribute-Lvalue
299MooseX-Method-Signatures
300MooseX-MultiMethods
301MooseX-MultiObject
302MooseX-POE
303MooseX-Params
304MooseX-Struct
305MooseX-TrackDirty-Attributes
306MooseX-Workers
307Net-Douban
308Net-Dropbox
309Net-FluidDB
310Net-Fluidinfo
311Net-HTTP-Factual
312Net-Journyx
313Net-Parliament
314Net-Plurk
315Net-Recurly
316Net-StackExchange
317Net-Topsy
318NetHack-Item
319NetHack-Monster-Spoiler
320Nginx-Control
321ODG-Record
322POE-Component-Client-MPD
323POE-Component-DirWatch
324POE-Component-DirWatch-Object
325POE-Component-IRC-Plugin-Role
326POE-Component-MessageQueue
327POE-Component-ResourcePool
328POE-Component-Server-MySQL
329POE-Component-Server-PSGI
330POE-Component-Server-SimpleHTTP
331POE-Test-Helpers
332POEx-ProxySession
333POEx-PubSub
334POEx-WorkerPool
335Paludis-UseCleaner
336Parse-CPAN-Ratings
337Parse-FixedRecord
338Perlanet
339Perlbal-Control
340Pg-BulkCopy
341Pod-Weaver-Section-Encoding
342Proc-Safetynet
343Queue-Leaky
344RDF-Server
345RPC-Any
346Random-Quantum
536a71ad 347Reaction
9423490e 348Reflex
479647ca 349Reflexive-Role-Collective
350Reflexive-Role-DataMover
351Reflexive-Role-TCPServer
352Reflexive-Stream-Filtering
353SRS-EPP-Proxy
354STD
355Scene-Graph
356Schedule-Pluggable
357SchemaEvolution
358Server-Control
359SilkiX-Converter-Kwiki
360SimpleDB-Class
361String-Blender
362TAEB
363Tail-Tool
364Tapper-Installer
365Tapper-MCP
366Tapper-MCP-MessageReceiver
367Tapper-Reports-API
368Telephone-Mnemonic-US
369Template-Plugin-Heritable
370Test-A8N
371Test-BDD-Cucumber
372Test-Sweet
373Test-System
374Thorium
375Tk-Role-Dialog
9423490e 376TryCatch
479647ca 377TryCatch-Error
378VANAMBURG-SEMPROG-SimpleGraph
379VCI
380Verby
381W3C-XMLSchema
382WWW-FMyLife
383WWW-Fandango
384WWW-Getsy
385WWW-Getsy
386WWW-Mechanize-Cached
387WWW-MenuGrinder
388WWW-Metalgate
389WWW-Scramble
390WWW-StaticBlog
391WWW-Yahoo-Lyrics-JP
392Weaving-Tablet
393WebNano-Controller-CRUD
394WebService-Buxfer
395WebService-CloudFlare-Host
396WebService-SlimTimer
397WebService-Yes24
398WiX3
399XIRCD
400XML-Ant-BuildFile
401XML-EPP
402XML-LibXSLT-Easy
403XML-Rabbit
404XML-Schematron
405YUM-RepoQuery
406Yukki
407mobirc
408namespace-alias