Re: [fpc-pascal] FPCUnit article/tutorial online.

2005-10-13 Thread Olle Raab
05-10-11 23.52, skrev L505 följande: > programmer. We have seen the compiler can use "tests" in order to test the > validity of the > compiler. Are these "unit tests" or just "tests". It all seems vague to me. A > compiler is A unit test should test a small module of a program, like a pascal uni

Re: [fpc-pascal] FPCUnit article/tutorial online.

2005-10-11 Thread Dean Zobec
Alan Mead ha scritto: Hello, The Editor of Toolbox Magazine has allowed me to put an article about FPCUnit online. [...] I found the article and the discussion on this list very helpful. Thanks for writing it and making it available. These are probably stupid questions, but all the ex

Re: [fpc-pascal] FPCUnit article/tutorial online.

2005-10-11 Thread L505
> Some weeks ago I've discussed unit testing with a friend (who is working > in a larger team), as I had a light suspiciosly view on this topic. For > _complex_ systems with _clear_ structure and interfaces, they absolutely > make sense and are productive. But the entry level where they are worth >

Re: [fpc-pascal] FPCUnit article/tutorial online.

2005-10-11 Thread Sebastian Günther
Florian Klaempfl schrieb: > > Without the regression tests of our testsuite, FPC would have much less > quality > than it has now. Also code reviewing is something which helps a lot for > complex > stuff. Some weeks ago I've discussed unit testing with a friend (who is working in a larger team)

Re: [fpc-pascal] FPCUnit article/tutorial online.

2005-10-11 Thread Alan Mead
Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > Hello, > > The Editor of Toolbox Magazine has allowed me to put an article > about FPCUnit online. > [...] I found the article and the discussion on this list very helpful. Thanks for writing it and making it available. These are probably stupid

Re: [fpc-pascal] FPCUnit article/tutorial online.

2005-10-10 Thread L505
> I personally wouldn't recommend using FPCunit in all cases. > The purpose of the article is to show that it is present in FPC for those who > want to use such a technology. > Exactly, and I think this discussion has helped me see where I can start experimenting it first, and what cases it woul

Re: [fpc-pascal] FPCUnit article/tutorial online.

2005-10-10 Thread L505
> debugger (I still don't know how to use it effectively with Free Pascal > and in Lazarus I usually keep it disabled :) A failing test usually Same here, I may be speaking from small project experience though, rather than huge/large level project experience. I think I may use the debugger more o

Re: [fpc-pascal] FPCUnit article/tutorial online.

2005-10-10 Thread Dean Zobec
L505 ha scritto: Since I don't exactly know what test frameworks are, even after reading about them for the past few years, I'm going to ask some risky questions. This is not a flame thrower attempt at the test framework advocates, I'm just trying to understand what exactly they do, from a "n

Re: [fpc-pascal] FPCUnit article/tutorial online.

2005-10-10 Thread Florian Klaempfl
Michael Van Canneyt wrote: > > > On Sun, 9 Oct 2005, Tony Pelton wrote: > >> i started to write a rather lengthy reply to this note, and realized i >> was starting to rant. >> >> so i'm gonna shorten my reply up quite a bit. >> >> i'm a java web app programmer by trade. i use Pascal for fun stu

Re: [fpc-pascal] FPCUnit article/tutorial online.

2005-10-10 Thread Michael Van Canneyt
On Sun, 9 Oct 2005, L505 wrote: Since I don't exactly know what test frameworks are, even after reading about them for the past few years, I'm going to ask some risky questions. This is not a flame thrower attempt at the test framework advocates, I'm just trying to understand what exactly t

Re: [fpc-pascal] FPCUnit article/tutorial online.

2005-10-10 Thread Michael Van Canneyt
On Sun, 9 Oct 2005, Tony Pelton wrote: i started to write a rather lengthy reply to this note, and realized i was starting to rant. so i'm gonna shorten my reply up quite a bit. i'm a java web app programmer by trade. i use Pascal for fun stuff. up until a couple of years ago, i went throug

Re: [fpc-pascal] FPCUnit article/tutorial online.

2005-10-09 Thread L505
> i'm a java web app programmer by trade. i use Pascal for fun stuff. Well I hope you try some of the Pascal web development projects too, and not JUST java for all the web apps... ;) I demand at least some fun pascal web apps out of you, minimum! -- L505 http://z505.com _

Re: [fpc-pascal] FPCUnit article/tutorial online.

2005-10-09 Thread Tony Pelton
i started to write a rather lengthy reply to this note, and realized i was starting to rant. so i'm gonna shorten my reply up quite a bit. i'm a java web app programmer by trade. i use Pascal for fun stuff. up until a couple of years ago, i went through a series of companies where i couldn't esc

Re: [fpc-pascal] FPCUnit article/tutorial online.

2005-10-09 Thread Marc Santhoff
Am Sonntag, den 09.10.2005, 14:09 -0700 schrieb L505: > Since I don't exactly know what test frameworks are, even after reading about > them for the > past few years, I'm going to ask some risky questions. This is not a flame > thrower attempt > at the test framework advocates, I'm just trying to

Re: [fpc-pascal] FPCUnit article/tutorial online.

2005-10-09 Thread L505
Since I don't exactly know what test frameworks are, even after reading about them for the past few years, I'm going to ask some risky questions. This is not a flame thrower attempt at the test framework advocates, I'm just trying to understand what exactly they do, from a "newbie to test framew

Re: [fpc-pascal] FPCUnit article/tutorial online.

2005-10-09 Thread Marc Santhoff
Am Sonntag, den 09.10.2005, 13:39 +0200 schrieb Michael Van Canneyt: > The article covers basic usage, just as well as usage and > installation in Lazarus. It can be considered a tutorial > (till a proper tutorial appears) > > Here is the URL: > http://www.freepascal.org/docs-html/fpcunit.pdf >

[fpc-pascal] FPCUnit article/tutorial online.

2005-10-09 Thread Michael Van Canneyt
Hello, The Editor of Toolbox Magazine has allowed me to put an article about FPCUnit online. FPCUnit is (similarly to JUnit, DUnit) an Object Pascal testing framework. It comes standard with your Free Pascal/Lazarus installation. It was written by Dean Zobec, and Vincent Snijders made the integr