I totally support this idea, in fact if auto generated bindings could be used to replace pulp-smash (partially or fully) that would save a lot of effort on maintaining it.
There are some reasons I tracked on why refactoring pulp-smash would be a good idea: https://gist.github.com/rochacbruno/96e19af2eb2a5c8d83cb7396cd27df64 @Tanya one of the things we wanted to do in pulp-smash was removing the "unittest" class based style in favor of pytest functional style, why haven't you used pytest and its fixtures for 2to3-migration tests? have you considered it? Bruno On Thu, Jan 2, 2020 at 3:47 PM Tatiana Tereshchenko <ttere...@redhat.com> wrote: > +1 to use bindings to test Pulp 3. > > We've already started using them (thanks to @dkliban) for > pulp-2to3-migration initial testing. > > https://github.com/pulp/pulp-2to3-migration/blob/master/pulp_2to3_migration/tests/functional/test_file_migration.py > > Tanya > > On Mon, Dec 16, 2019 at 11:32 PM Bruno Rocha <bro...@redhat.com> wrote: > >> Hi, >> >> +1 to this idea, we have discussed that a little bit in QE some time ago >> in this issue[1] >> >> This can solve the constants files dependency the current pulp-smash >> testing has. >> >> [1] https://github.com/PulpQE/pulp-smash/issues/1182 >> >> Bruno Rocha >> >> Senior Quality Engineer - Management QE - Pulp Project >> *irc*: rochacbruno >> >> *social*: http://about.me/rochacbruno >> >> “Progress is the realization of utopia.” >> <https://red.ht/sig> >> >> >> On Mon, Dec 16, 2019 at 6:03 PM Brian Bouterse <bmbou...@redhat.com> >> wrote: >> >>> I believe we have an opportunity to improve Pulp's testing through the >>> use of bindings tests. I wrote up an epic to gather ideas and discussion. >>> https://pulp.plan.io/issues/5888 >>> >>> Initially this would be for pulpcore and pulp_file, but the idea is we >>> would enable this automatically via the plugin_tempalte. Comments are >>> welcome! With more input, I hope we can prioritize this work. >>> >>> Thanks, >>> Brian >>> >>> _______________________________________________ >>> Pulp-dev mailing list >>> Pulp-dev@redhat.com >>> https://www.redhat.com/mailman/listinfo/pulp-dev >>> >> _______________________________________________ >> Pulp-dev mailing list >> Pulp-dev@redhat.com >> https://www.redhat.com/mailman/listinfo/pulp-dev >> > _______________________________________________ > Pulp-dev mailing list > Pulp-dev@redhat.com > https://www.redhat.com/mailman/listinfo/pulp-dev >
_______________________________________________ Pulp-dev mailing list Pulp-dev@redhat.com https://www.redhat.com/mailman/listinfo/pulp-dev