| Age | Commit message (Collapse) | Author |
|
Signed-off-by: Matt Turner <mattst88@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Closes: https://bugs.gentoo.org/926427
Signed-off-by: Greg Kubaryk <greg.kubaryk@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
(cherry picked from commit 988e47557368df49035eeba94beca893f7b267c1)
|
|
This reverts commit 988e47557368df49035eeba94beca893f7b267c1.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Closes: https://bugs.gentoo.org/926427
Signed-off-by: Greg Kubaryk <greg.kubaryk@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Pytest is a testing framework that is backwards compatible with
"unittest" tests, but provides new styles of tests that are more
ergonomic.
Pytest tests do not require wrapping the test in a class, just a top
level python function will be automatically picked up. Assertions use
the regular python assert built-in and provide greatly enhanced debug
output. These features reduce friction in writing new unit tests, and being
backwards compatible allows preserving the existing gentoolkit unit
tests.
Changing the meson test command and installing the pytest package in CI are the
only changes required to start using it!
Signed-off-by: John Turner <jturner.usa@gmail.com>
Closes: https://github.com/gentoo/gentoolkit/pull/45
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Matt Turner <mattst88@gentoo.org>
|
|
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Closes: https://github.com/gentoo/gentoolkit/pull/37
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Bug: https://bugs.gentoo.org/909888
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Closes: https://github.com/gentoo/gentoolkit/pull/36
Signed-off-by: Sam James <sam@gentoo.org>
|