-
- Distribution: Dist-Zilla
- Module version: 6.012
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- Repository (git clone)
- Issues (63)
- 4.5 (9 reviews)
- Testers (330 / 18 / 42)
- Kwalitee
- License: perl_5
- Activity
- 24 month
- Tools
- MOBI | EPUB
- Download (190.47Kb) 0
- MetaCPAN Explorer
- Rate this distribution
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- S.C.O
- This version
- Latest version
- Ævar Arnfjörð Bjarmason
- Alastair McGowan-Douglas
- Alceu Rodrigues de Freitas Junior
-
Alexei Znamensky
- Alex Vandiver
-
ambs
- Andrew Rodland
-
Andy Jack
-
Apocalypse
- ben hengst
- Bernardo Rechea
- Brian Fraser
-
Caleb Cushing
-
Chase Whitener
-
Chisel
-
Christian Walde
- Christopher J. Madsen
-
Chris Weyl
- Cory G Watson
- csjewell
- Curtis Brandt
-
Dagfinn Ilmari Mannsåker
- Damien KRotkine
- Danijel Tasov
- Dave O'Neill
-
Dave Rolsky
-
David E. Wheeler
-
David Golden
- David H. Adler
- David Steinbrunner
- David Zurborg
- Davor Cubranic
- Dimitar Petrov
- Doug Bell
-
Erik Carlsson
-
Fayland Lam
-
Florian Ragwitz
-
Fred Moyer
-
fREW Schmidt
- gardnerm
-
Gianni Ceccarelli
-
Graham Barr
-
Graham Knop
-
Graham Ollis
-
Grzegorz Rożniecki
- Hans Dieter Pearcey
-
Hunter McMillen
-
Ivan Bessarabov
- Jakob Voss
- jantore
- Jérôme Quelin
- Jesse Luehrs
- Jesse Vincent
- JJ Merelo
-
John Napiorkowski
- jonasbn
- Jonathan C. Otsuka
-
Jonathan Rockway
-
Jonathan Scott Duff
-
Jonathan Yu
-
Karen Etheridge
-
Kent Fredric
-
Leon Timmermans
- Lucas Theisen
- Luc St-Louis
- Marcel Gruenauer
- Martin McGrath
- Mary Ehlers
-
Mateu X Hunter
- Matthew Horsfall
- mauke
- Michael G. Schwern
-
Michael Jemmeson
-
Mickey Nasriachi
- Mike Doherty
-
Mohammad S Anwar
-
Moritz Onken
-
Neil Bowers
- Nickolay Platonov
- Nick Tonkin
-
nperez
-
Olivier Mengué
-
Paul Cochrane
-
Pedro Melo
-
Philippe Bruhat (BooK)
-
Randy Stauner
- robertkrimen
- Rob Hoelz
-
Robin Smidsrød
-
Roy Ivy III
- Shawn M Moore
- Smylers
- Steffen Schwigon
- Steven Haryanto
-
Tatsuhiko Miyagawa
-
Upasana Shukla
- Vyacheslav Matjukhin
- Yanick Champoux
-
Yuval Kogman
- Dependencies
- App::Cmd::Command::version
- App::Cmd::Setup
- App::Cmd::Tester
- App::Cmd::Tester::CaptureExternal
- Archive::Tar
- autodie
- Carp
- Class::Load
- Config::INI::Reader
- Config::MVP
- Config::MVP::Assembler
- Config::MVP::Assembler::WithBundles
- Config::MVP::Reader
- Config::MVP::Reader::Findable::ByExtension
- Config::MVP::Reader::Finder
- Config::MVP::Reader::INI
- Config::MVP::Section
- CPAN::Meta::Converter
- CPAN::Meta::Merge
- CPAN::Meta::Prereqs
- CPAN::Meta::Requirements
- CPAN::Meta::Validator
- CPAN::Uploader
- Data::Dumper
- Data::Section
- DateTime
- Digest::MD5
- Encode
- ExtUtils::Manifest
- File::Copy::Recursive
- File::Find::Rule
- File::HomeDir
- File::Path
- File::pushd
- File::ShareDir
- File::ShareDir::Install
- File::Spec
- File::Temp
- JSON::MaybeXS
- List::Util
- Log::Dispatchouli
- Mixin::Linewise::Readers
- Module::CoreList
- Module::Runtime
- Moose
- Moose::Role
- Moose::Util::TypeConstraints
- MooseX::LazyRequire
- MooseX::Role::Parameterized
- MooseX::SetOnce
- MooseX::Types
- MooseX::Types::Moose
- MooseX::Types::Perl
- namespace::autoclean
- Params::Util
- parent
- Path::Tiny
- Perl::PrereqScanner
- Pod::Eventual
- PPI::Document
- Scalar::Util
- Software::License
- Software::LicenseUtils
- strict
- String::Formatter
- String::RewritePrefix
- Sub::Exporter
- Sub::Exporter::ForMethods
- Sub::Exporter::Util
- Term::Encoding
- Term::ReadKey
- Term::ReadLine
- Term::UI
- Test::Deep
- Text::Glob
- Text::Template
- Try::Tiny
- utf8
- version
- warnings
- YAML::Tiny
- and possibly others
- CPAN Testers List
- Reverse dependencies
Dist-Zilla-6.012
NAME
Dist::Zilla::Chrome::Test - the chrome used by Dist::Zilla::Tester
VERSION
version 6.012
ATTRIBUTES
response_for
The response_for attribute (which exists only in the Test chrome) is a hashref that lets you specify the answer to questions asked by prompt_str
or prompt_yn
. The key is the prompt string. If the value is a string, it is returned every time that question is asked. If the value is an arrayref, the first element is shifted off and returned every time the question is asked. If the arrayref is empty (or the prompt is not listed in the hash), the default answer (if any) is returned.
Since you can't pass arguments to the Chrome constructor, response_for is initialized to an empty hash, and you can add entries after construction with the set_response_for
method:
$chrome->set_response_for($prompt => $response);
AUTHOR
Ricardo SIGNES 😏 <rjbs@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2018 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Module Install Instructions
To install Dist::Zilla::Chrome::Test, simply copy and paste either of the commands in to your terminal
cpanm Dist::Zilla::Chrome::Test
perl -MCPAN -e shell install Dist::Zilla::Chrome::Test
For more information on module installation please visit the detailed CPAN module installation guide.