Commit Graph

2652 Commits

Author SHA1 Message Date
Jannis Moßhammer 26644b091b Renamed runtest to runtests.sh 2013-06-06 16:13:16 +02:00
Jannis Moßhammer 359b51be43 Add testrunner for frontend tests
This runner should conform to our runner specification

refs #4213
refs #4244
2013-06-06 16:07:32 +02:00
Jannis Moßhammer a1298e6edd Add dummy test case for casperjs
The dummy test only checks whether our build server has the correct
title when called. Also the i2w-config.js toolkit is provided
to help testing correct paths

refs #4213
2013-06-06 16:05:55 +02:00
Eric Lippmann 59b9a7a448 Vagrant: Add openldap stack w/ example data
refs #4218
2013-06-06 12:27:28 +02:00
Eric Lippmann 11f4a5b0b5 Merge branch 'feature/php-regression-4102'
Conflicts:
	.gitignore
2013-06-05 11:19:12 +02:00
Marius Hein beb6fde90a Merge branch 'feature/Vagrant-4202'
Conflicts:
	.gitignore
2013-06-05 10:53:35 +02:00
Marius Hein 29f032502c Integrate regression tests
Add js regression structure and configured mocha
2013-06-04 17:20:18 +02:00
Marius Hein 8d08167d11 Integrate regression tests
Removed javascript directory, because we use js for that.

refs #4102
2013-06-04 16:00:35 +02:00
Marius Hein a221568a84 Integrate regression tests
Add regression testing for php: structure and bogus test.

refs #4102
2013-06-04 15:55:44 +02:00
Eric Lippmann c09508212a Vagrant: Add MK Livestatus
refs #4217
2013-06-04 14:27:13 +02:00
Eric Lippmann 039ab7ec55 Vagrant: Install icinga plugins
refs #4229
2013-06-04 12:42:18 +02:00
Marius Hein 5df14b41e1 Merge branch 'feature/build-server-integration-4067'
Conflicts:
	.gitignore
2013-06-04 11:40:20 +02:00
Marius Hein 321aa9b4e3 Integrate PHPCS
Include only own code, test for binary

refs #4070
2013-06-04 11:26:12 +02:00
Marius Hein ed24a90c1a Integrate PHPUNIT
Modify tester, chdir to tests directory and test binary

refs #4068
2013-06-04 11:20:22 +02:00
Eric Lippmann ebfe5ab7f0 Vagrant/PostgreSQL: Install php library
refs #4215
2013-06-04 10:22:17 +02:00
Marius Hein 9b907e3cd3 Move tested existing resources to new productive repository
Rename docs, tests and test/ui to doc, test and test/frontend to
suite skeleton definition.

refs #4212
2013-06-04 10:20:51 +02:00
Marius Hein 65a8975117 Move tested existing resources to new productive repository
Drop swap filed

refs #4212
2013-06-04 10:18:02 +02:00
Marius Hein 4bb3e73d41 Move tested existing resources to new productive repository
Add initial gitignore file

refs #4212
2013-06-04 10:10:45 +02:00
Eric Lippmann 8c3bc30677 Vagrant/Icinga w/ PostgreSQL: Add proper apache configuration
Icinga with IDOUtils running on a PostgreSQL database is now available
via /icinga-pgsql

refs #4215
2013-06-03 18:01:49 +02:00
Eric Lippmann fc370f7801 Vagrant/Icinga w/ MySQL: Add proper apache configuration
Icinga with IDOUtils running on a MySQL database is now available
via /icinga-mysql

refs #4216
2013-06-03 17:54:44 +02:00
Eric Lippmann 9eafe3b54a Vagrant/PHP: Require package apache
refs #4232
2013-06-03 17:38:16 +02:00
Eric Lippmann 62c90f91e0 Vagrant/PostgreSQL: Remove owner and group settings from pg_hba.conf
This keeps postgres as owner and group.

refs #4215
2013-06-03 17:35:19 +02:00
Eric Lippmann fc8584b6f8 Vagrant: Fix failing mount "./pub", "./pub" missing on host
refs #4231
2013-06-03 17:30:46 +02:00
Jannis Moßhammer d7bbf256b3 Add additional resources
refs #4212
2013-06-03 17:05:59 +02:00
Jannis Moßhammer aab69a41e8 Add tested ldap and web libraries
refs #4212
2013-06-03 17:02:08 +02:00
Jannis Moßhammer 2a9d7aa187 Add tested commandpipe connector
refs #4212
2013-06-03 16:56:08 +02:00
Jannis Moßhammer f6b5f5d405 Add tested Backend ressource
Only statusdat is currently tested

refs #4212
2013-06-03 16:36:10 +02:00
Jannis Moßhammer 8abfd0a2d0 Add tested application-wide resources
- Logging
- Qlinks

refs #4212
2013-06-03 16:24:11 +02:00
Jannis Moßhammer ba38c89755 Add tested Statusdat Protocol
In order to run the tests, phpunit must be called in the
tests/php folder

refs #4212
2013-06-03 16:14:46 +02:00
Johannes Meyer 4b225eccee Fix: Style-checkers report their output to wrong location 2013-06-03 16:07:52 +02:00
Jannis Moßhammer 66b8f70e3e Add vendor libraries
we use the following vendor libraries:
- Markdown.php for on-the-fly creation of documentation
- htmlpurifier for sane HTML output
- lessphp for on-the-fly creation of css out of less files
- tcpdf for pdf generation in the backend

refs #4212
2013-06-03 15:37:30 +02:00
Jannis Moßhammer 4b2b28b65b Add test directory from incubator
This contains only php tests, although the folders
for javascript and ui are created now

refs #4212
2013-06-03 15:34:57 +02:00
Marius Hein 71f2c408df Integrate PHPCS
Fix absolute directory issue.

refs #4070
refs #4098
refs #4099
2013-06-03 15:29:54 +02:00
Eric Lippmann ed3127a223 Vagrant: Fix failing mount "./pub" running `vagrant up` for the first time
User apache and group apache is only available after provisioning.
Mounting shared folders happens before. Thus :owner and :group
settings removed.

refs #4231
2013-06-03 15:18:26 +02:00
Marius Hein 0592bff4ef Build server
Add absolute directory for helper scripts

refs #4067
refs #4213
refs #4099
refs #4098
refs #4214
2013-06-03 15:13:42 +02:00
Johannes Meyer 420f407df4 Fix: Doc-runner uses wrong file extension.
Updated Doc-runner so that it converts files with
the md-extension instead of the txt-extension.

refs #4214
2013-06-03 11:40:42 +02:00
Eric Lippmann 51c7d697db Vagrant: Update documentation
refs #4231
2013-06-03 11:39:34 +02:00
Eric Lippmann 4783cb0706 Vagrant: Forward port 80 to 8080
refs #4232
2013-06-03 11:39:15 +02:00
Johannes Meyer 3a90825f9e Add runner to generate html documentation.
Implemented runner which translates each .txt
file located in doc/ to html by using markdown.

refs #4214
2013-06-03 11:29:57 +02:00
Johannes Meyer ee63f3fbd8 Make Git ignore build/* and create it as needed.
refs #4068
refs #4070
refs #4098
refs #4099
2013-06-03 10:36:27 +02:00
Johannes Meyer 5b58c07e28 Establish directory structure for builds and tests. 2013-05-31 14:15:14 +02:00
Johannes Meyer 5118432b82 Add support for jshint reports.
Integrated style-checker for javascript source code.

refs #4098
2013-05-31 13:52:12 +02:00
Johannes Meyer 3544af245f Add support for javascript unittests.
Integrated test-runner for Mocha which covers
test-execution and code-coverage measurement.

refs #4099, refs #4087
2013-05-31 13:51:07 +02:00
Johannes Meyer 7ac78fe29d Add support for phpcs reports.
Integrated style-checker for php source code.

refs #4070
2013-05-31 13:48:14 +02:00
Johannes Meyer 4a92879a5a Add support for phpunit tests.
Integrated test-runner for phpunit which covers
test-execution and code-coverage measurement.

refs #4068, refs #4087
2013-05-31 13:47:15 +02:00
Eric Lippmann ff3d218890 Vagrant: Add automated provisioning of Icinga 1.9.1
refs #4215
refs #4216
2013-05-29 18:23:55 +02:00
Eric Lippmann 8675ac3713 Git: Specify files to ignore 2013-05-29 17:44:26 +02:00
Eric Lippmann 4d6a50faa7 Vagrant: Add automated provisioning PostgreSQL
refs #4215
2013-05-29 17:42:08 +02:00
Eric Lippmann f2afd7423d Vagrant: Add automated provisioning of MySQL
refs #4216
2013-05-29 17:42:03 +02:00
Eric Lippmann f631a60d60 Vagrant: Add automated provisioning of Apache2 and PHP5.3
refs #4232
2013-05-29 17:36:53 +02:00