You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
5 years ago
..
bookmarks.js feat: #7743, posts module 6 years ago
cache.js fix: #6979 6 years ago
category.js fix: crash if post doesn't have topic data 5 years ago
create.js fix: remove unused data from post/topic/user hashes 6 years ago
data.js feat: send pids into filter:post.getFields hook 6 years ago
delete.js fix: #7853, dissociation on post purge 6 years ago
diffs.js feat: #7743 posts/diff, posts/edit 6 years ago
edit.js fix: topicData passed to action:topic.edit 6 years ago
index.js feat: switch to promise.all 6 years ago
parse.js Support allowing classes 5 years ago
queue.js feat: #7957, allow post queue based on group 6 years ago
recent.js feat: #7743, finish post module 6 years ago
summary.js Testing suite integration for openapi spec (#8263) 5 years ago
tools.js feat: #7743, finish post module 6 years ago
topics.js feat: async/await 6 years ago
uploads.js fix: #7960, dont try to save size for non images 6 years ago
user.js fix: change owner missing await 5 years ago
votes.js feat: #7743, posts/votes 6 years ago