{"id":26804826,"url":"https://github.com/throughnothing/test-www-mechanize-dancer","last_synced_at":"2025-07-22T09:31:41.937Z","repository":{"id":66719053,"uuid":"2666545","full_name":"throughnothing/Test-WWW-Mechanize-Dancer","owner":"throughnothing","description":"Wrapper to easily use Test::WWW::Mechanize with your Dancer apps","archived":false,"fork":false,"pushed_at":"2014-02-16T22:55:17.000Z","size":179,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-06T01:39:48.784Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://metacpan.org/release/Test-WWW-Mechanize-Dancer/","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/throughnothing.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-10-28T17:10:55.000Z","updated_at":"2017-04-22T13:46:54.000Z","dependencies_parsed_at":"2023-02-20T10:00:31.487Z","dependency_job_id":null,"html_url":"https://github.com/throughnothing/Test-WWW-Mechanize-Dancer","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/throughnothing/Test-WWW-Mechanize-Dancer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/throughnothing%2FTest-WWW-Mechanize-Dancer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/throughnothing%2FTest-WWW-Mechanize-Dancer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/throughnothing%2FTest-WWW-Mechanize-Dancer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/throughnothing%2FTest-WWW-Mechanize-Dancer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/throughnothing","download_url":"https://codeload.github.com/throughnothing/Test-WWW-Mechanize-Dancer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/throughnothing%2FTest-WWW-Mechanize-Dancer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266465100,"owners_count":23933065,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-29T22:27:15.068Z","updated_at":"2025-07-22T09:31:41.850Z","avatar_url":"https://github.com/throughnothing.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\nTest::WWW::Mechanize::Dancer - Wrapper to easily use Test::WWW::Mechanize with your Dancer apps\n\n# VERSION\n\nversion 0.0100\n\n# SYNOPSIS\n\n    use MyDancerApp;\n    use Test::WWW::Mechanize::Dancer;\n\n    # Get your standard Test::WWW::Mechanize object\n    my $mech = Test::WWW::Mechanize::Dancer-\u003enew(\n        # settings here if required\n    )-\u003emech;\n    # Run standard Test::WWW::Mechanize tests\n    $mech-\u003eget_ok('/');\n\n# DESCRIPTION\n\nThis is a simple wrapper that lets you test your Dancer apps using\nTest::WWW::Mechanize.\n\n# SETTINGS\n\n## appdir\n\nProbably the main thing you will want to set, `appdir` sets the base\ndirectory for the app.  `confdir`, `views`, and `public`, will be \nset to `appdir`, `appdir`/views, and `appdir`/public\nrespectively if not set explicitly.\n\nThe `appdir` defaults to the current working directory, which works\nin most testing cases.\n\n## agent\n\nAllows you to set the user agent of the Mechanizer.\n\n## confdir\n\nSet the dancer confdir.  Will default to appdir if unspecified.\n\n## envdir\n\nAllows you to set the directory where Dancer should look for the config files\nfor each environment.  Defaults to 'environments' under appdir.  Note if your\napp uses $ENV{DANCER\\_ENVDIR} you should explicitly pass that value using this\noption.\n\n## environment\n\nAllows you to set the Dancer environment to run your app in.  Defaults to\n'test'\n\n## mech\\_class\n\nAllows you to override the class used to instantiate the user agent object.\nUse this to invoke your own class with project-specific test-helper methods.\nDefaults to 'Test::WWW::Mechanize::PSGI' - which your class should inherit\nfrom.  Note, it is your responsibility to 'require' the class.\n\n## public\n\nSet the public directory for your dancer app.  Defaults to `appdir`/public\n\n## views\n\nSet the views directory for your dancer app.  Defaults to `appdir`/views\n\n# AUTHORS\n\n- William Wolf \u003cthroughnothing@gmail.com\u003e\n- Grant McLean \u003cgrantm@cpan.org\u003e\n\n# COPYRIGHT AND LICENSE\n\nThis software is copyright (c) 2011 by William Wolf.\n\nThis is free software; you can redistribute it and/or modify it under\nthe same terms as the Perl 5 programming language system itself.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthroughnothing%2Ftest-www-mechanize-dancer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthroughnothing%2Ftest-www-mechanize-dancer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthroughnothing%2Ftest-www-mechanize-dancer/lists"}