Git development
 help / color / mirror / Atom feed
* [PATCH 00/20] t9300: group and move tests to other files
@ 2026-11-10 11:49 Karthik Nayak
  2026-11-10 11:49 ` [PATCH 01/20] t9300: move 'fastimport.unpackLimit' to the required test Karthik Nayak
                   ` (21 more replies)
  0 siblings, 22 replies; 45+ messages in thread
From: Karthik Nayak @ 2026-11-10 11:49 UTC (permalink / raw)
  To: git; +Cc: Karthik Nayak

While reading the git-fast-import(1) code, I stumbled upon t9300. The
test file is around 4000 LoC and each test has some dependency on the
state setup by previous tests.

This long series unwinds some of these tests and moves them into
new/existing tests based on what they exercise. This leaves t9300 in a
better state. I think we can do more here, but I decided to stop before
this series got even longer. Based on the reception of this series, I
will follow up with more cleanups.

Also, we could squash some of the commits together. But I found them
easier to read through this way.

Signed-off-by: Karthik Nayak <karthik.188@gmail.com>
---
Karthik Nayak (20):
      t9300: move 'fastimport.unpackLimit' to the required test
      t9300: make the series B tests self-contained
      t9300: make the series T tests self-contained
      t9300: make the series S tests self-contained
      t9300: make the series V tests self-contained
      t9300: make the series Q tests self-contained
      t9300: make the series P tests self-contained
      t9300: make the series O tests self-contained
      t9300: make the big blob tests self-contained
      t9300: make the ref update tests self-contained
      t9300: make the date format tests self-contained
      t9300: make the pack edges test self-contained
      t9300: make the marks tests self-contained
      t9300: make the series Y tests self-contained
      t9300: make the cat-blob tests self-contained
      t9300: make the feature and option tests self-contained
      t9300: make the stream tests self-contained
      t9300: make the get-mark and encoding tests self-contained
      t9300: move self-contained tests into dedicated files
      t93xx: drop the series letter from the moved test names

 t/meson.build                     |    5 +
 t/t9300-fast-import.sh            | 2780 +------------------------------------
 t/t9301-fast-import-notes.sh      |  411 ++++++
 t/t9304-fast-import-marks.sh      |  393 ++++++
 t/t9307-fast-import-validation.sh | 1193 ++++++++++++++++
 t/t9308-fast-import-stream.sh     |  822 +++++++++++
 t/t9309-fast-import-checkpoint.sh |  188 +++
 t/t9310-fast-import-submodule.sh  |  341 +++++
 t/t9311-fast-import-refs.sh       |  194 +++
 9 files changed, 3548 insertions(+), 2779 deletions(-)


---
base-commit: 8d1b215c01512b9658d4525c54ff9b9245f9a7e8
change-id: 20261102-kn-fast-import-tests-1-03de57101c3b


Thanks
- Karthik


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

end of thread, other threads:[~2026-11-12 17:34 UTC | newest]

Thread overview: 45+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-10 11:49 [PATCH 00/20] t9300: group and move tests to other files Karthik Nayak
2026-11-10 11:49 ` [PATCH 01/20] t9300: move 'fastimport.unpackLimit' to the required test Karthik Nayak
2026-11-10 11:49 ` [PATCH 02/20] t9300: make the series B tests self-contained Karthik Nayak
2026-11-10 11:49 ` [PATCH 03/20] t9300: make the series T " Karthik Nayak
2026-11-10 11:49 ` [PATCH 04/20] t9300: make the series S " Karthik Nayak
2026-11-10 11:49 ` [PATCH 05/20] t9300: make the series V " Karthik Nayak
2026-11-10 11:49 ` [PATCH 06/20] t9300: make the series Q " Karthik Nayak
2026-11-10 11:49 ` [PATCH 07/20] t9300: make the series P " Karthik Nayak
2026-11-10 11:49 ` [PATCH 08/20] t9300: make the series O " Karthik Nayak
2026-11-10 11:49 ` [PATCH 09/20] t9300: make the big blob " Karthik Nayak
2026-11-10 11:49 ` [PATCH 10/20] t9300: make the ref update " Karthik Nayak
2026-11-10 11:49 ` [PATCH 11/20] t9300: make the date format " Karthik Nayak
2026-11-10 11:49 ` [PATCH 12/20] t9300: make the pack edges test self-contained Karthik Nayak
2026-11-10 11:49 ` [PATCH 13/20] t9300: make the marks tests self-contained Karthik Nayak
2026-11-10 11:49 ` [PATCH 14/20] t9300: make the series Y " Karthik Nayak
2026-11-10 11:50 ` [PATCH 15/20] t9300: make the cat-blob " Karthik Nayak
2026-11-10 11:50 ` [PATCH 16/20] t9300: make the feature and option " Karthik Nayak
2026-11-10 11:50 ` [PATCH 17/20] t9300: make the stream " Karthik Nayak
2026-11-10 11:50 ` [PATCH 18/20] t9300: make the get-mark and encoding " Karthik Nayak
2026-11-10 11:50 ` [PATCH 19/20] t9300: move self-contained tests into dedicated files Karthik Nayak
2026-11-10 11:50 ` [PATCH 20/20] t93xx: drop the series letter from the moved test names Karthik Nayak
2026-11-10 16:45 ` [PATCH 00/20] t9300: group and move tests to other files Junio C Hamano
2026-11-10 20:06   ` Junio C Hamano
2026-11-11 11:22     ` Karthik Nayak
2026-11-12 17:34 ` [PATCH v2 " Karthik Nayak
2026-11-12 17:34   ` [PATCH v2 01/20] t9300: move 'fastimport.unpackLimit' to the required test Karthik Nayak
2026-11-12 17:34   ` [PATCH v2 02/20] t9300: make the series B tests self-contained Karthik Nayak
2026-11-12 17:34   ` [PATCH v2 03/20] t9300: make the series T " Karthik Nayak
2026-11-12 17:34   ` [PATCH v2 04/20] t9300: make the series S " Karthik Nayak
2026-11-12 17:34   ` [PATCH v2 05/20] t9300: make the series V " Karthik Nayak
2026-11-12 17:34   ` [PATCH v2 06/20] t9300: make the series Q " Karthik Nayak
2026-11-12 17:34   ` [PATCH v2 07/20] t9300: make the series P " Karthik Nayak
2026-11-12 17:34   ` [PATCH v2 08/20] t9300: make the series O " Karthik Nayak
2026-11-12 17:34   ` [PATCH v2 09/20] t9300: make the big blob " Karthik Nayak
2026-11-12 17:34   ` [PATCH v2 10/20] t9300: make the ref update " Karthik Nayak
2026-11-12 17:34   ` [PATCH v2 11/20] t9300: make the date format " Karthik Nayak
2026-11-12 17:34   ` [PATCH v2 12/20] t9300: make the pack edges test self-contained Karthik Nayak
2026-11-12 17:34   ` [PATCH v2 13/20] t9300: make the marks tests self-contained Karthik Nayak
2026-11-12 17:34   ` [PATCH v2 14/20] t9300: make the series Y " Karthik Nayak
2026-11-12 17:34   ` [PATCH v2 15/20] t9300: make the cat-blob " Karthik Nayak
2026-11-12 17:34   ` [PATCH v2 16/20] t9300: make the feature and option " Karthik Nayak
2026-11-12 17:34   ` [PATCH v2 17/20] t9300: make the stream " Karthik Nayak
2026-11-12 17:34   ` [PATCH v2 18/20] t9300: make the get-mark and encoding " Karthik Nayak
2026-11-12 17:34   ` [PATCH v2 19/20] t9300: move self-contained tests into dedicated files Karthik Nayak
2026-11-12 17:34   ` [PATCH v2 20/20] t93xx: drop the series letter from the moved test names Karthik Nayak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox