aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/TestAppProve.pm
Commit message (Collapse)AuthorAgeLines
* Do not test all of t if a state is provided.M Somerville2020-10-14-1/+1
| | | | Otherwise running with --state=failed does not do as you would expect.
* [Travis] Split coverage tests, fix coverage ignoreMatthew Somerville2019-05-13-1/+1
|
* Update a number of packages.Matthew Somerville2019-05-13-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update: * Catalyst * Specify Catalyst::DispatchType::Regex explicitly * Remove Catalyst::Plugin::Unicode::Encoding * Catalyst::Plugin::SmartURI * Specify URI::SmartURI explicitly * Catalyst::Plugin::Static::Simple * CGI * Class::Load * DateTime * DateTime::TimeZone * DBD::Pg * DBIx::Class * DBIx::Class::EncodedColumn. * Email::Address. * Email::MIME * ExtUtils::MakeMaker * ExtUtils::ParseXS (for Params::Classify upgrade) * File::ChangeNotify * Image::Size * IO::Socket::SSL * local::lib * Moo * Moose (and some related others due to deprecations) * namespace::autoclean * Net::Server * Net::SSLeay * Number::Phone * Plack * Starman * Template * Test::PostgreSQL * Test::WWW::Mechanize::Catalyst * Text::CSV * YAML carton install was run on a wheezy box, the oldest that is supported, to make sure the required minimal vesions of core modules weren't removed from the snapshot. Cpanel::JSON::XS, Devel::GlobalDestruction::XS, and MooseX::NonMoose were then put back in the snapshot, in case another system needs them (e.g. system Perl on Mac looks for MooseX::NonMoose).
* Fix again test script running on PostgreSQL 9.1.Matthew Somerville2018-04-10-2/+4
| | | | | It was not enough to move the schema to a separate run, the two fixtures need to be separate too.
* Fix test script running on PostgreSQL 9.1.Matthew Somerville2018-04-03-5/+3
|
* Fix issue with test database removal.Matthew Somerville2018-03-26-11/+7
| | | | | Upgrade Test::PostgreSQL, which fixes a bug delaying the end of test running, and introduces a nicer setup mechanism.
* Add Cypress testing.Matthew Somerville2018-03-15-36/+54
|
* Upgrade commonlib to read in config as Unicode.Matthew Somerville2017-10-10-2/+2
| | | | This means variables do not need decoding in a few places.
* Remove hardcoded states from Problem model.Matthew Somerville2017-08-31-1/+1
| | | | | We keep the internal states hardcoded, plus the core open (confirmed) and closed ones, but the remainder are moved to the database.
* Add switch-site script for easily switching configZarino Zappia2017-08-10-2/+2
| | | | | | | Given a set of config files of the format `conf/general-{cobrand}.yml` this script lets you easily create and recreate a symlink at `conf/general.yml` that points to the cobrand config of your choice. The test suite also then uses this naming convention.
* Test script should run 't' when other args given.Matthew Somerville2017-06-20-9/+9
|
* Default run-tests with no arguments to run all.Matthew Somerville2016-10-13-5/+5
|
* Generate unique config per test run.Matthew Somerville2016-08-09-1/+16
| | | | | | | | This allows multiple test suites to run simultaneously (beforehand, a second run would overwrite the same config file and lose its database connection). Clean up the created config file on exit.
* Rename test-wrapper to run-tests.Matthew Somerville2015-01-19-1/+1
| | | | As that's what it does; and use it in Travis.
* Add a script to always test on a clean db/config.Hakim Cassimally2014-12-12-0/+94
Fixes #786.