Test::BDD::Cucumber::Definitions::Zip::Ru - Шаги на русском языке для работы с архивами Zip
В файле features/step_definitions/zip_steps.pl:
#!/usr/bin/perl use strict; use warnings; use utf8; use open qw(:std :utf8); use Test::BDD::Cucumber::Definitions::HTTP::Ru; use Test::BDD::Cucumber::Definitions::Zip::Ru;
В файле features/zip.feature:
Feature: Zip (Ru) Работа с архивами Zip Scenario: HTTP->Zip When HTTP-запрос "GET" отправлен на "http://example.com/test.zip" Given содержимое HTTP-ответа прочитано как Zip
Архивы Zip могут быть прочитаны из различных источников.
Для работы с источниками требуется использование модуля Zip совместно с другими модулями, например HTTP.
Прочитать данные из содержимого HTTP-ответа в архив Zip:
Given содержимое HTTP-ответа прочитано как Zip
Mikhail Ivanov <m.ivanych@gmail.com>
<m.ivanych@gmail.com>
Copyright 2018 Mikhail Ivanov.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Test::BDD::Cucumber::Definitions, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::BDD::Cucumber::Definitions
CPAN shell
perl -MCPAN -e shell install Test::BDD::Cucumber::Definitions
For more information on module installation, please visit the detailed CPAN module installation guide.