Commit graph

101 commits

Author SHA1 Message Date
Dmitry Khomutov dd9f43b7dd
Refactored Config. 2018-03-09 13:46:18 +07:00
Dmitry Khomutov e23ad3237a
Refactored Database. 2018-03-09 13:46:17 +07:00
Dmitry Khomutov 8b5a874789
Refactored Store. 2018-03-09 13:46:17 +07:00
Dmitry Khomutov 905d6d41d1
Refactored models. 2018-03-09 13:46:17 +07:00
Dmitry Khomutov 5d9b56d194
Replaced func_get_args() by ...$params (PHP 5.6+). 2018-03-09 13:46:16 +07:00
Dmitry Khomutov c5ce085371
Added PHPUnit code coverage log output and chart in information tab.
Issue #148.
2018-03-06 19:47:10 +07:00
Dmitry Khomutov 42a8316479
Added tests for the Store (MySQL and PostgreSQL). 2018-03-01 19:47:34 +07:00
Dmitry Khomutov 9fc73577ca
Added tests and fix for lastInsertId() on camel case tables. 2018-03-01 17:23:47 +07:00
Dmitry Khomutov 409ac11c47
Added more tests for Database (for PostgreSQL and MySQL). 2018-03-01 15:11:26 +07:00
Dmitry Khomutov 5a76868e0b
Added tests for DB connections DSN. 2018-02-28 23:34:07 +07:00
Dmitry Khomutov 4cb041e8fb
PHPUnit tests improvements. 2018-02-28 22:40:50 +07:00
Dmitry Khomutov 8d0d23f5f4
Merged PostgreSQL and MySQL tests inti one PHPUnit XML config. 2018-02-28 18:45:03 +07:00
Dmitry Khomutov 429405809e
Refactored build type 'Pull request' logic. 2018-02-23 18:54:03 +07:00
Dmitry Khomutov 597a20deea
Refactored view/template. 2018-02-21 10:46:57 +07:00
Dmitry Khomutov 09cee5a5df
Added more tests for the forms. 2018-02-21 10:46:56 +07:00
Dmitry Khomutov c05d3d6c90
Fixed PHPUnit assert calls to static. 2018-02-21 10:46:56 +07:00
Dmitry Khomutov 1dc8acd263
Replace cache to Symfony/Cache component. 2018-02-21 10:46:55 +07:00
SimonHeimberg 2d67afc4c7 Testing replaceIllegalCharacters without doing normalisation
We do not use any compound characters, so normalisation is a no op.
2018-02-07 11:05:33 +01:00
SimonHeimberg 2da98f6ff1 replaceIllegalCharacters replaces too long byte sequences
MySql only supports utf8 characters encoded shorter than four bytes.
2018-02-06 09:51:00 +01:00
Dmitry Khomutov 16755eadd4
Code style fixes + more tests for invalid UTF-8 log. 2018-02-04 13:20:46 +07:00
Dmitry Khomutov 7db036e956
Added code coverage report for PHPUnit plugin. Issue #86. 2018-01-20 16:45:52 +07:00
Dmitry Khomutov 45e674a733 Fixed naming. 2017-10-21 15:51:05 +07:00
Dmitry Khomutov 268ab03c86 Fixed Database test for Postgres. 2017-10-19 22:33:00 +07:00
Dmitry Khomutov ab566c1f41 Fixed tests after build changes. 2017-10-19 22:17:40 +07:00
Dmitry Khomutov dd4f3bfbad Added 'user_id' (created by) and 'create_date' columns to 'project' table. 2017-10-19 22:05:00 +07:00
Dmitry Khomutov 4ec6d854c2 Added 'user_id' column to 'build' table (created by)
+ Renamed columns 'created' -> 'create_date', 'started' -> 'start_date' and 'finished' -> 'finish_date'
+ Code style fixes.
2017-10-16 20:40:00 +07:00
Dmitry Khomutov 145670acde Build sources instead of 'Manual' word. 2017-10-14 21:13:36 +07:00
Dmitry Khomutov 1bc8dfd5eb
Added daily rotate logger for console commands. Issue #108. 2017-08-30 21:21:16 +07:00
SimonHeimberg 7a8ed48e3d test cases inherit from PhpUnit testcase with namespeces
This name is available since phpunit 4.8.36 and 5.4.3.
2017-07-24 08:59:49 +02:00
SimonHeimberg c89a6e979c
test PhpUnitResultJunit
Test data is generated by real test suite, with phpunit 6.2
2017-07-23 18:47:52 +07:00
SimonHeimberg f87cb40e6f
test PhpUnitResult with some output from test 2017-07-23 18:47:52 +07:00
SimonHeimberg 21c93ba5af
recreate test result with real test suite -- phpunit 4.8 2017-07-23 18:47:52 +07:00
SimonHeimberg 03f2e353eb
reorder test data so that it could really happen 2017-07-23 18:47:52 +07:00
SimonHeimberg c3c103cc78
prepare for several types of phpunit results 2017-07-23 18:47:52 +07:00
SimonHeimberg a77b1115a0
merge similar run methods in PhpUnit 2017-07-23 18:47:51 +07:00
Dmitry Khomutov 13e492240e
Added regex pattern for branch specific config. Issue #97. 2017-07-20 08:01:26 +07:00
Dmitry Khomutov 59837a8ff1
Added param 'priority_path' (For all plugins) for control paths priority when we search plugin binary. Issue #104. 2017-07-19 10:26:51 +07:00
Dmitry Khomutov 9041457af4
Changed HttpClient to Guzzle library. 2017-06-28 12:42:56 +07:00
Dmitry Khomutov 647a5cedcd
Added tags for Github builds. 2017-04-22 20:02:24 +07:00
Dmitry Khomutov a3ef15b488
Fixed debug build from GUI for environments 2017-04-02 09:17:03 +07:00
Dmitry Khomutov d46d15c64b
Fixed BuildServiceTest test 2017-03-26 17:48:34 +07:00
Stepan Strelets 1cef8260e9
Fix build service test - mock environment store 2017-03-26 17:36:30 +07:00
Stepan Strelets 047cedaab3
Initial implementation CI environments 2017-03-26 17:36:30 +07:00
Dmitry Khomutov 075be27691
Fixed HttpClientTest test 2017-03-16 21:12:56 +07:00
Dmitry Khomutov c97d5935b9
Fixed PHPUnit plugin (for empty tests) 2017-03-14 22:57:46 +07:00
Dmitry Khomutov a2fbd9b775
Code style fixes 2017-03-12 11:40:40 +07:00
Dmitry Khomutov 041ab16e71
Fixed plugins execution 2017-02-20 20:28:50 +07:00
Dmitry Khomutov 96aa345dc0
Removed base models and stores 2017-02-18 14:34:23 +07:00
Dmitry Khomutov 9f0580e802
Improved TravisCI build settings 2017-02-18 14:34:23 +07:00
Dmitry Khomutov ea5044bf9b
Fixes 2017-02-09 22:25:12 +07:00