seatest icon indicating copy to clipboard operation
seatest copied to clipboard

Return 0 in Seatest Hello World

Open zhongweiy opened this issue 10 years ago • 3 comments
trafficstars

Hi, there, In *nix convention, return value 0 means success. But in the Seatest Hello World, it return 1 when success, which is a little surprise to caller. Is any better choice for Seatest Hello World other than return 1?

zhongweiy avatar Jul 10 '15 07:07 zhongweiy

Seatest return number of failed tests (0 if success).

acrap avatar Jul 12 '16 08:07 acrap

perhaps 0-tests failed?

keithn avatar Sep 30 '16 23:09 keithn

Note, on your own projects you can return whatever you like.

keithn avatar Sep 30 '16 23:09 keithn