Robert Hafner
2adbb68a54
Updated SetupEnvironment to use TRAVIS_BUILD_DIR to identify paths
2013-12-05 14:06:51 -08:00
Robert Hafner
01f5ad02a8
Created initial working test suite
...
So far it just tests some flags (which it already did) and then tests
connecting to the imap server itself.
The Attachment and Message tests are just stubs right now and don't do
anything, but need those stubs to let the tests occur.
2013-12-05 13:57:34 -08:00
Robert Hafner
554c22a363
Added some useful output to the phpunit bootstrap file
2013-12-05 13:50:36 -08:00
Robert Hafner
bdfb20f610
Updated the phpunit bootstrapper to initialize the environment.
2013-12-05 12:13:25 -08:00
Robert Hafner
6e6d66ed87
Created environment setup wrapper script
...
This script makes setting up the environment for testing easier. It
detects that it's on travis and creates the appropriate setup right
there, or on personal machines uses vagrant. If vagrant is running is
skips the full setup and simply resets the mailbox for fast testing.
2013-12-04 23:36:48 -08:00
Robert Hafner
bcf57ce903
Updated autoloader to support test cases, and bootstrapper to support composer autoloader
2013-12-04 23:34:08 -08:00
Robert Hafner
e6eb65fbd5
Shuffled testing scripts out of Vagrant folder and into their own space.
2013-12-04 21:57:51 -08:00
Robert Hafner
63ff9c9d3b
Cleaned up VagrantFile formatting.
2013-12-01 23:06:31 -08:00
Robert Hafner
5d30c7eaa1
Added ResetMail.sh to Provision.sh script, cleaned formatting.
2013-12-01 23:06:18 -08:00
Robert Hafner
13514054d9
Updated system hostname to tedivm.com
2013-12-01 23:05:55 -08:00
Robert Hafner
63a358bcfa
Added "ResetMail.sh" to handle refreshing the test inboxes before and between tests
2013-12-01 23:04:55 -08:00
Robert Hafner
2a1c46e48d
Added test messages in
...
These messages are a dump of a "Maildir" account, managed by Dovecot.
2013-12-01 22:58:00 -08:00
Robert Hafner
efa2bd9a51
Added postfix config file to Vagrant to help populate mailboxes
2013-12-01 17:48:46 -08:00
Robert Hafner
ca5aaa6a36
Initial Vagrant setup
2013-12-01 15:53:05 -08:00
Patrik Karisch
7972b0c5d9
add unit tests for Server::setFlag()
...
add proper phpunit configuration
2013-07-11 00:19:47 +02:00
Robert Hafner
326142464f
Corrected a comment on the bootstrap class in the test suite.
2012-06-11 00:39:12 -07:00
Robert Hafner
22eaf7238b
Added testing structure and bootstrap class.
2012-06-11 00:06:19 -07:00