Hi,
I'd like to ask for your advice or best practices regarding the package
structure of a project. So far I have understood:
Suppose, a project has
What's the recommended way to structure this in Pharo? For example, I've
seen that some code in Pharo has its tests in the same package but
flagged/categorized, other code has a separate package for tests. Also, can
a (git) repository have multiple baselines?
Sorry, if I am asking the obvious but I did not manage to find guidlines in
the documentation yet. It might very well an oversight be myself.
Kind regards,
Steffen
Most projects that I'm aware of, follow something like this:
Usually, we use https://github.com/ba-st/GitHub-setup for generating the
initial boilerplate of new projects.
Regards,
Gabriel
On Wed, Apr 19, 2023 at 12:55 PM Steffen Märcker merkste@web.de wrote:
Hi,
I'd like to ask for your advice or best practices regarding the package
structure of a project. So far I have understood:
Suppose, a project has
What's the recommended way to structure this in Pharo? For example, I've
seen that some code in Pharo has its tests in the same package but
flagged/categorized, other code has a separate package for tests. Also, can
a (git) repository have multiple baselines?
Sorry, if I am asking the obvious but I did not manage to find guidlines in
the documentation yet. It might very well an oversight be myself.
Kind regards,
Steffen
BTW, Beside this mailing list, there is the Pharo Discord for discussions.
Noury
On Apr 19 2023, at 7:06 pm, Gabriel Cotelli g.cotelli@gmail.com wrote:
Most projects that I'm aware of, follow something like this:
1 project per git repository
One or more packages for the functional part, separate packages for the tests (because if you only use categories you can't load only the runtime required code and exclude the tests)
If your project has optional parts, and this code is in different packages you can provide in the Baseline "groups" for loading sub-sets of the packages
Usually, we use https://github.com/ba-st/GitHub-setup for generating the initial boilerplate of new projects.
Regards,
Gabriel
On Wed, Apr 19, 2023 at 12:55 PM Steffen Märcker <merkste@web.de (mailto:merkste@web.de)> wrote:
Hi,
I'd like to ask for your advice or best practices regarding the package
structure of a project. So far I have understood:
Suppose, a project has
What's the recommended way to structure this in Pharo? For example, I've
seen that some code in Pharo has its tests in the same package but
flagged/categorized, other code has a separate package for tests. Also, can
a (git) repository have multiple baselines?
Sorry, if I am asking the obvious but I did not manage to find guidlines in
the documentation yet. It might very well an oversight be myself.
Kind regards,
Steffen
Thank you both for your answers. That is certainly helpful.
Kind regards,
Steffen
Noury Bouraqadi schrieb am Mittwoch, 19. April 2023 19:10:13 (+02:00):
BTW, Beside this mailing list, there is the Pharo Discord for discussions.
Noury
On Apr 19 2023, at 7:06 pm, Gabriel Cotelli g.cotelli@gmail.com wrote:
Most projects that I'm aware of, follow something like this:
Usually, we use https://github.com/ba-st/GitHub-setup for generating the initial boilerplate of new projects.
Regards,
Gabriel
On Wed, Apr 19, 2023 at 12:55 PM Steffen Märcker merkste@web.de wrote:
Hi,
I'd like to ask for your advice or best practices regarding the package
structure of a project. So far I have understood:
Suppose, a project has
What's the recommended way to structure this in Pharo? For example, I've
seen that some code in Pharo has its tests in the same package but
flagged/categorized, other code has a separate package for tests. Also, can
a (git) repository have multiple baselines?
Sorry, if I am asking the obvious but I did not manage to find guidlines in
the documentation yet. It might very well an oversight be myself.
Kind regards,
Steffen
--
Gesendet mit Vivaldi Mail. Laden Sie Vivaldi kostenlos unter vivaldi.com herunter