[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Golang check phase skipping some tests?
From: |
Maxim Cournoyer |
Subject: |
Re: Golang check phase skipping some tests? |
Date: |
Thu, 18 Jan 2024 14:31:05 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi Oleg,
Sharlatan Hellseher <sharlatanus@gmail.com> writes:
> Hi,
>
> I can't say that I'm an expert in Golang :-), but I've got some experience in
> building and deploying Glang daily for some time.
>
> First things first the default behaviour of `go test ./...` is like this:
>
> find * -type f -name *_test.go | <golang-internal-assertion>
>
>
> Internally Golang tries to find any files with _test.go suffix in
> provided module's
> location and evaluate defined tests in them. If the directory of the module
> does
> not have test files it's just ignored.
>
[...]
> I'm currently in review and split some packages from (gnu packages golang)
> into
> (gnu packages golang-crypto) to simplify the maintenance. I try to play with
> that option and see which packages are missed to satisfy passing all tests.
A simple thank you for doing this!
--
Maxim