[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is your definition of a functional/unit test

From: Nala Ginrut
Subject: Re: What is your definition of a functional/unit test
Date: Mon, 09 Nov 2020 02:26:18 +0800
User-agent: mu4e 1.4.13; emacs 27.1

Hi Jérémy!

Jérémy Korwin-Zmijowski writes:

> Hey !
> Just wondering as I don't want to dev against the philosophy of the
> framework.

Actually, the test framework is unfinished (alright, even unstarted due
to lack of time). Folks may have to write the test utils by themselves.

> Actually mine is
> - functional : needs a running server
> - unit : don't

I don't think the server is necessary for some cases, so let's make it
flexible. The point is to test meaninngful things in your scenario,
while unit test is more about the expected activity of existing

Actually, we can ingore the server in the test unless you want to test
the server-core itself. The things you need to take care is the input
and output, and let the server be the blackbox.

Of course, there's no official definition in Artanis. Folks may choose
what they like. I'm looking forward to a best practice in the future.

Best regards.

GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
Fingerprint F53B 4C56 95B5 E4D5 6093 4324 8469 6772 846A 0058

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]