Forum > Suggestions

Wish list: Eclipse-style unit tests; clear project structure.

<< < (4/5) > >>

mvampire:
I have written a feature request in the wiki:

http://wiki.lazarus.freepascal.org/Feature_Ideas/UnitTests
http://wiki.lazarus.freepascal.org/Feature_Ideas#Write_and_run_unit_tests_from_subpackage_of_project_being_tested

And also submitted it as a feature on bug tracker:

http://bugs.freepascal.org/view.php?id=21094

CaptBill:
It would take some ingenuity on your part to figure out the details for what you want. I just feel that Tinycore would be a great platform to start from for these types of scenarios/setups.

Possibly a virtual machine would be a simple strategy. Tinycore boots so fast and can be scripted (no VitualBox), would be the ideal scenario.

I think it could be a good foundation to achieve your goal and an ideal approach, was my idea.

Juha,
I see your point about being OS independent.

Sorry for delay in answering.

Cheers

mvampire:

--- Quote from: CaptBill on January 21, 2012, 10:11:13 am ---... Tinycore ...

--- End quote ---

Please do not write this spam here anymore. I don't see any relevance of Linux distro you propose with my question about integration of unit tests in Lazarus IDE.

CaptBill:
Ok then.

How about you just learn standard testing practices instead then, when your not so busy.(unit testing, sheesh!)

Almost sounds like you are trying to find faults with Lazarus, and asking questions that are silly and expect it to program itself, like Eclipse apparently does.

And filed a bug?





mvampire:
Thanks.


--- Quote from: CaptBill on January 24, 2012, 12:13:29 pm ---How about you just learn standard testing practices instead then, when your not so busy.(unit testing, sheesh!)

--- End quote ---

Hm, I undestand that I know just basics, but I don't need more for my job and study now. I just have other tasks with higher priority.


--- Quote ---Almost sounds like you are trying to find faults with Lazarus, and asking questions that are silly and expect it to program itself, like Eclipse apparently does.

--- End quote ---

I'm a student and my topic is BGP (routing protocol). I have written a program (for myself, to calculate some statistics I was interested in) to analyse huge number of BGP messages. I made it in Lazarus, because Pascal was the only language I knew good. And all questions I asked - were real questions, which I couldn't solve by myself or find any other solution.

Also I'm currenty working as Java Developer (I have only about 1 year experience), I use Eclipse.

Now my Pascal program become quite big (4000 lines) and I needed to test it, because I wanted to publish results. And I need to trust the results. That's why I needed testing, also unit tests for several modules. When I started with Unit tests in Lazarus I noticed that it could be much more comfortable, so I decided to write a suggestion, that's it.


--- Quote ---And filed a bug?

--- End quote ---

Not bug, but feature request (which was suggested by Leledumbo) on the bugtracker.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version