Граф коммитов

69 Коммитов

Автор SHA1 Сообщение Дата
Moto Ishizawa 2b4f0922ec Use non-zero return code when tests fail 2017-03-28 20:37:17 +09:00
chhsiao90 7b6158603e Update log message 2017-03-01 15:18:15 +08:00
chhsiao90 0d21157c91 Enable browser automatical testing 2017-03-01 14:39:05 +08:00
chhsiao90 6403404ab1 Used port-based instaed of path-based, so that we could test more situation 2017-02-27 15:09:27 +08:00
chhsiao90 42eb36f845 Removed redundant ClienetSpecConfig, reused and extend exists config.Config 2017-02-27 13:28:08 +08:00
chhsiao90 73c73fa58c Implement h2specd for http2 client testing 2017-02-15 15:22:13 +08:00
Moto Ishizawa 946e9fa9be Add generic test cases for HTTP/2 server 2017-01-22 23:58:38 +09:00
Moto Ishizawa fb789bd652 Add test cases for HPACK 2017-01-22 23:58:38 +09:00
Moto Ishizawa 5f09688076 Print messagen if there is no matched test 2017-01-22 23:58:38 +09:00
Moto Ishizawa 2e2da2c690 Refactor JUnit reporter 2017-01-22 23:58:37 +09:00
Moto Ishizawa 90c2a7ab2b Display test counts at the end 2017-01-22 23:58:37 +09:00
Moto Ishizawa 88061c13ba Refactor packages 2017-01-22 23:58:37 +09:00
Moto Ishizawa cf9e454ebc Implement JUnit Reporter 2017-01-22 23:58:37 +09:00
Moto Ishizawa 54b5f1c317 Implement spec package 2017-01-22 23:58:37 +09:00
Jan Stourac 4a921e1e0f Created separate methods for pseudo-header fields creation. 2016-09-06 10:24:37 +02:00
Jan Stourac d8dde891fe Fix of possible nil pointer dereference.
- with latest addition of 5.4 tests into strict group, there can be
  returned 'nil' for some TestGroup in case that -S is not used.
  This was not handled in result printing
- unnecessary 'if' for number of failed tests removed
2016-08-01 12:27:36 +02:00
Moto Ishizawa d8f43c925a Marked test cases of 5.4 as strict 2016-07-27 07:39:05 +02:00
Jan Stourac ec613af059 Added support to print results also in JUnit format
- using '-j' option one can change default filename for JUnit xml output
2016-07-26 06:45:49 +02:00
Jan Stourac 4ad0f948b0 Added 'skipped' attribute to TestCase 2016-07-26 06:45:49 +02:00
Jan Stourac 1e839f66fd Added test execution time to TestCase structure
- TestCase structure now has test execution time
- test execution time is printed out for successful and failed tests
2016-07-26 06:45:49 +02:00
Moto Ishizawa 853bd29760 Performance improvement on dummyData() 2016-02-14 22:21:51 +09:00
Moto Ishizawa ae087617ad Check frame type more strictly 2015-11-16 23:40:51 +09:00
Moto Ishizawa 1b8e91dd1d Implement logger 2015-11-15 23:57:10 +09:00
Tatsuhiro Tsujikawa d90c8dc642 Update go http2 package URI 2015-10-09 00:14:29 +09:00
Moto Ishizawa 941cc8528a Better error output 2015-07-22 23:13:30 +09:00
Moto Ishizawa bc3feeedf7 Exit with non-zero code if test fails 2015-07-22 21:56:12 +09:00
Moto Ishizawa 5efabba37d Improve generic error output 2015-07-22 14:59:21 +09:00
Moto Ishizawa a3b5b2df46 Handle TCP timeout 2015-07-22 14:55:38 +09:00
Moto Ishizawa d85ee7f342 Refactor evaluation of test results 2015-07-16 22:53:42 +09:00
Moto Ishizawa 0bc7c4ee6e Add "h2" to ALPN identifier 2015-06-28 21:46:24 +09:00
Moto Ishizawa 4b934adf26 Add test case for Stream Dependencies 2015-06-21 12:23:50 +09:00
Moto Ishizawa 9c9ecfe82a Implement strict mode 2015-05-24 19:03:00 +09:00
Moto Ishizawa 8cb0a76247 Fix invalid summary output 2015-05-24 09:07:08 +09:00
Moto Ishizawa 659eb72693 Set valid scheme and authority header 2015-05-12 23:26:49 +09:00
Moto Ishizawa ba44ce180c Add test cases for Stream States 2015-03-21 22:20:42 +09:00
Moto Ishizawa e2f85ceee0 Fix output bug of failed tests section 2015-03-21 16:33:34 +09:00
Moto Ishizawa 8d1c4567a9 Improve output and summary 2015-03-21 15:50:17 +09:00
Moto Ishizawa a4ffe52f1d Improve output of test summary 2015-02-25 00:35:42 +09:00
Tatsuhiro Tsujikawa 346e9121c0 Print test summary including failed test's result
h2spec prints out the progress of tests beautifully, but most of the
times we are interested in failed tests.  Currently, we have to look
carefully the terminal while tests are running or scroll back the
terminal to see whether failed tests exist or not.

To solve the above problem, this commit adds summary output after all
tests are performed.  It prints out the failed test cases including
expected and failed pair in a same format shown during testing.  It
also prints out the number of tests, passed, skipped and failed test
cases so that we can see what happened easily.
2015-02-25 00:01:17 +09:00
Moto Ishizawa aabf5d1fb9 Handle ECONNRESET as connection close 2015-02-19 22:48:03 +09:00
Moto Ishizawa 7886b63640 Editorial fix 2015-02-18 23:39:00 +09:00
Moto Ishizawa 1e1214ab8a Skip stream concurrency test when SETTINGS_MAX_CONCURRENT_STREAMS is unlimited 2015-02-18 23:37:24 +09:00
Moto Ishizawa d5e82b74b9 Update error string color 2015-02-15 23:56:58 +09:00
Moto Ishizawa 3aea0c7218 Refactor test cases
- Use TestCase struct
- Use TestGroup struct
- Output expected and actual result
2015-02-15 23:32:50 +09:00
Jonathan Thackray 09654fb9e3 Add a test which sends an unknown frame type (0xFF). This should be ignored. 2015-02-10 16:19:10 +00:00
Moto Ishizawa 8be144a859 Merge pull request #13 from tatsuhiro-t/refactor-header-encoding
Refactor encoding header to make writing test easy
2015-01-24 18:45:23 +09:00
Moto Ishizawa 2f704de160 Add test for 5.1.2 2015-01-24 18:26:21 +09:00
Tatsuhiro Tsujikawa e2f3f5575a Refactor encoding header to make writing test easy 2015-01-24 17:40:30 +09:00
Moto Ishizawa d2bd3437e7 Consider HTTP/2 settings timeout 2015-01-24 15:16:16 +09:00
Moto Ishizawa 0e865688ac Add h2-15 to ALPN identifier 2015-01-24 14:39:23 +09:00