Files
NodeBB/test
Julian Lam ccc6118d30 Testing suite integration for openapi spec (#8263)
* feat: testing suite integration for openapi spec

The testing suite now takes the openapi spec into account. It will
check each route defined, make a call to it, and compare the
response with the defined schema. Any mismatches will cause the
test to fail.

* fix(openapi): removed debug stuff from tests

* fix(openapi): fixed some tests

* fix(openapi): added additional check to tests, test fixes

* fix(openapi): better tests, fixed spec errors

* fix(openapi): bad conditional in test

* fix: oops

* fix(openapi): more tests fixing

* fix(openapi): more tests

* fix(openapi): fix some more tests

* fix: verbose'd an info log

* fix: topic pagination route returns schema-optimized pagination block

* fix(openapi): more test/spec fixes

* fix(openapi): accidentally sending in authenticated jar for anon routes

* fix(openapi): more test/spec fixes

* fix(openapi): more spec fixes

* fix: timestampReadable Invalid Date

* fix(openapi): more tests... almost there

* fix(openapi): more tests fixing

* fix(openapi): finally all tests passing

* fix(openapi): added reverse test to compare response to spec

... and fixed all the tests that broke

* fix: remove tests related to group covers, as route is gone

* fix(openapi): broken test on travis

* fix(openapi): broken test on travis

* fix(openapi): broken test on travis

* fix(openapi): object cache is not present for psql

* fix: tests

Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
2020-04-23 21:50:08 -04:00
..
2018-09-20 17:05:52 -04:00
2020-01-31 14:10:00 -05:00
2017-02-18 15:05:36 -07:00
2019-07-09 12:46:49 -04:00
2019-06-22 21:23:32 -04:00
2020-01-31 14:10:00 -05:00
2019-11-01 22:13:00 -04:00
2018-12-18 19:43:28 -05:00
2018-12-10 15:30:10 -05:00
2018-03-20 10:32:53 -04:00
2018-10-20 14:40:48 -04:00
2019-09-23 22:30:17 -04:00
2020-01-23 12:48:21 -05:00
2017-05-28 17:21:49 -04:00
2018-10-16 17:21:03 -04:00
2019-11-01 22:13:00 -04:00
2017-02-18 12:30:49 -07:00
2020-01-24 15:24:01 -05:00
2018-10-17 14:58:34 -04:00
2019-09-17 09:12:45 -04:00
2018-11-09 15:09:47 -05:00
2018-10-18 16:33:34 -04:00
2019-10-11 12:44:34 -04:00
2019-04-29 10:59:52 -04:00
2019-10-16 13:33:00 -04:00
2020-02-13 11:31:20 -05:00
2020-04-01 21:57:28 -04:00