user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
From: Eric Wong <e@yhbt.net>
To: meta@public-inbox.org
Subject: [PATCH 0/4] some test cleanups
Date: Tue, 21 Apr 2020 21:16:10 +0000	[thread overview]
Message-ID: <20200421211614.5076-1-e@yhbt.net> (raw)

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(-)

             reply	other threads:[~2020-04-21 21:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-21 21:16 Eric Wong [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://public-inbox.org/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200421211614.5076-1-e@yhbt.net \
    --to=e@yhbt.net \
    --cc=meta@public-inbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

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).