unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* [PATCH 0/4] some test cleanups
@ 2020-04-21 21:16 Eric Wong
  2020-04-21 21:16 ` [PATCH 1/4] t/feed: remove useless $ENV{GIT_DIR} assignment Eric Wong
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Eric Wong @ 2020-04-21 21:16 UTC (permalink / raw)
  To: meta

Email::MIME and Email::Simple may not be a hard dependencies
down the line(*), so slowly start moving our tests away from them.

(*) they're slow, and Email::MIME eats ginormous amounts of RAM

There's also a lot of redundancy in our tests I intend to
address, such as not using PSGI tests for WWW components
and redundancy of v1 + v2 test paths.

Eric Wong (4):
  t/feed: remove useless $ENV{GIT_DIR} assignment
  t/*.t: use Email::MIME->create over PublicInbox::MIME->create
  t/*.t: reduce dependency on Email::MIME APIs
  t/mda.t: avoid needless use of Email::Simple

 t/altid.t              |  19 ++--
 t/altid_v2.t           |  19 ++--
 t/cgi.t                |   8 +-
 t/content_id.t         |  24 +++--
 t/convert-compact.t    |  20 ++--
 t/feed.t               |   8 +-
 t/filter_rubylang.t    |   8 +-
 t/filter_subjecttag.t  |   4 +-
 t/filter_vger.t        |   6 +-
 t/html_index.t         |   4 +-
 t/httpd.t              |   4 +-
 t/import.t             |  21 ++---
 t/indexlevels-mirror.t |  17 ++--
 t/mda.t                |  18 +---
 t/mid.t                |   5 +-
 t/msgtime.t            |  50 +++++-----
 t/nntp.t               |   4 +-
 t/nntpd.t              |   4 +-
 t/nulsubject.t         |  18 ++--
 t/plack.t              |   4 +-
 t/psgi_attach.t        |   2 +-
 t/psgi_mount.t         |   4 +-
 t/psgi_multipart_not.t |   2 +-
 t/psgi_scan_all.t      |   2 +-
 t/psgi_search.t        |   2 +-
 t/psgi_text.t          |   2 +-
 t/psgi_v2.t            |   8 +-
 t/reply.t              |   4 +-
 t/search-thr-index.t   |   6 +-
 t/search.t             | 205 ++++++++++++++++++++---------------------
 t/time.t               |  23 +++--
 t/v1-add-remove-add.t  |  21 ++---
 t/v1reindex.t          |  19 ++--
 t/v2-add-remove-add.t  |  19 ++--
 t/v2mda.t              |  22 ++---
 t/v2reindex.t          |  16 ++--
 t/v2writable.t         |  18 ++--
 t/watch_maildir.t      |   2 +-
 t/xcpdb-reshard.t      |  15 ++-
 39 files changed, 307 insertions(+), 350 deletions(-)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-04-21 21:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-21 21:16 [PATCH 0/4] some test cleanups Eric Wong
2020-04-21 21:16 ` [PATCH 1/4] t/feed: remove useless $ENV{GIT_DIR} assignment Eric Wong
2020-04-21 21:16 ` [PATCH 2/4] t/*.t: use Email::MIME->create over PublicInbox::MIME->create Eric Wong
2020-04-21 21:16 ` [PATCH 3/4] t/*.t: reduce dependency on Email::MIME APIs Eric Wong
2020-04-21 21:16 ` [PATCH 4/4] t/mda.t: avoid needless use of Email::Simple Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).