Re: [Boston.pm] unit testing socket code

2022-10-01 Thread Bill Bogstad via Boston-pm
On Tue, Sep 13, 2022 at 3:39 PM wrote: > > > > >> the amount of test code is likely to far > >> exceed the amount of code being tested! > > > The industry standard rule of thumb for ASICs is the pre-tapeout > verification effort is 3x the desigm effort. Yeah, but hardware bugs are much harder to

Re: [Boston.pm] unit testing socket code

2022-09-13 Thread email
the amount of test code is likely to far exceed the amount of code being tested! The industry standard rule of thumb for ASICs is the pre-tapeout verification effort is 3x the desigm effort. On 2022-09-13 09:05, Bill Ricker via Boston-pm wrote: On Tue, Sep 13, 2022 at 9:38 AM Adam

Re: [Boston.pm] unit testing socket code

2022-09-13 Thread Bill Ricker via Boston-pm
On Tue, Sep 13, 2022 at 9:38 AM Adam Russell wrote: > Ok, I think I definitely mixed up some terms here. > ✓ > Yes, it does seem that separate Unit and Integration testing is the > winning meta-pattern! > Indeed, both is better than either alone. (This bothers some theologians.) > that the

Re: [Boston.pm] unit testing socket code

2022-09-13 Thread Adam Russell via Boston-pm
-pm@pm.org Subject: Re: [Boston.pm] unit testing socket code On Mon, Aug 22, 2022 at 10:31 PM Adam Russell via Boston-pm mailto:boston-pm@pm.org>> wrote: I have some networking code in Perl. Fairly low level in that I use raw sockets, accept(), etc instead of the higher level IO::Socket p

Re: [Boston.pm] unit testing socket code

2022-08-23 Thread Shlomi Fish
Hi Adam! On Tue, 23 Aug 2022 02:31:14 + Adam Russell via Boston-pm wrote: > I have some networking code in Perl. Fairly low level in that I use raw > sockets, accept(), etc instead of the higher level IO::Socket package. I'd > like to test this code but am not sure what the best approach

Re: [Boston.pm] unit testing socket code

2022-08-22 Thread Bill Ricker via Boston-pm
On Mon, Aug 22, 2022 at 10:31 PM Adam Russell via Boston-pm < boston-pm@pm.org> wrote: > I have some networking code in Perl. Fairly low level in that I use raw > sockets, accept(), etc instead of the higher level IO::Socket package. I'd > like to test this code but am not sure what the best

[Boston.pm] unit testing socket code

2022-08-22 Thread Adam Russell via Boston-pm
I have some networking code in Perl. Fairly low level in that I use raw sockets, accept(), etc instead of the higher level IO::Socket package. I'd like to test this code but am not sure what the best approach is. There doesn't seem to be a convenient testing framework like there is with WWW