Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move or fork these to teemtee organization #12

Open
LecrisUT opened this issue Jun 14, 2023 · 6 comments
Open

Move or fork these to teemtee organization #12

LecrisUT opened this issue Jun 14, 2023 · 6 comments

Comments

@LecrisUT
Copy link

It is a bit unintuitive to come to beakerlib to look for reusable tmt tests. At the very least this should be documented on tmt repo and website where to look for these tests

@psss
Copy link
Member

psss commented Jul 11, 2023

The beakerlib libraries are closely related to beakerlib and thus it makes a complete sense to me to keep them under the beakerlib organization. The concept is described in the tmt documentation as well:

In the future this content is planned to be moved to the guide where it will have a bit more prominent place in the documentation structure. All in all I'd say we have this covered. Any thoughts on this, @lukaszachy, @sopos?

@lukaszachy
Copy link

Because of the background of tmt users we treat beakerlib better than other frameworks however beakerlib and its libraries are older and separate from tmt itself.

If tmt gains support for pytest one wouldn't expect to move pytest under teemtee org, right? IMO beakerlib is the same situation.

So +1 to psss to have better documentation about beakerlib and libraries to make it easier for people not familiar with them.

@LecrisUT
Copy link
Author

Ok, but doesn't it also make sense to have a list of tmt plans that are designed to be reusable under tmt, or at least linked to?

@psss
Copy link
Member

psss commented Jul 12, 2023

Seems there's a bit of misunderstanding: The beakerlib libraries is a concept which allows to use the rlImport function inside of a beakerlib test which imports additional utility functions from that library to be used by that test.

While tmt plans are used to enable testing, to group several tests together and define how the environment for them should be prepared. See also the Under The Hood section of the upstream guide.

It is true that the recently added feature to import remote plans now allows to share reusable plans. But, at least so far, there was not demand to create a shared repository for such plans as the setup is usually quite specific for given component. If there are such reusable plans, it could make sense to have them under the teemtee organization.

@LecrisUT
Copy link
Author

Aah, got it. I didn't look deeply in the libraries themselves. An instruction about rlImport would be helpful here.

@psss
Copy link
Member

psss commented Jul 12, 2023

@sopos, I guess it would be good to extend the libraries welcome page with some more details for those who are completely new to the concept.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants