Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
00test.t
01dependencies.t
02act.t
02config.t
02pod.t
03database.t
04i18n.t
04template.t
05util.t
06country.t
08track.t
09dbbool.t
10user.t
11talk.t
13participation.t
14order.t
15events.t
16timeslot.t
17invoice.t
18abstract.t
19news.t
20tags.t
README
Util.pm
dispatcher.t
form.t
image.t

README

README file for the Act tests

* Helper modules

Act can test itself with touching the production database.
Add the following configuration items to [database]:
    test_dsn
    test_user
    test_passwd

The t/Utils.pm file (use t::Utils in some test files)
connect the request object to the test database and clean up all
tables after each test suite.

* Test categories

The tests are prefixed with a number, which indicates several categories:

0x - Basic tests
     t/00test.t      - test if Test::More is here
     t/01cpan.t      - test for the CPAN modules we need
     t/02act.t       - try to require the Act::* modules
     t/02config.t    - test Act::Config
     t/03database.t  - try to connect to the database
     t/04template.t  - test Act::Template
     t/05util.t      - test Act::Util

1x - Core Act classes
     t/10user.t      - Act::User
     t/11talk.t      - Act::Talk

Some test are not numbered, because the order of tests is unimportant,
once the numbered tests pass.

     t/form.t        - test Act::Form

Something went wrong with that request. Please try again.