mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-07-22 21:55:53 +00:00
ci: run the whole balances test package, not just BalancesIntegrationTest
Hardcoded -e class only ran one test class, silently excluding any new integration test added to the same package (e.g. the new full-architecture BalancesUpdateSystem test).
This commit is contained in:
@@ -35,7 +35,7 @@ t.start()
|
|||||||
|
|
||||||
def run():
|
def run():
|
||||||
os.system('adb wait-for-device')
|
os.system('adb wait-for-device')
|
||||||
p = sp.Popen('adb shell am instrument -w -m -e debug false -e class "io.novafoundation.nova.balances.BalancesIntegrationTest" io.pezkuwichain.wallet.debug.test/io.qameta.allure.android.runners.AllureAndroidJUnitRunner',
|
p = sp.Popen('adb shell am instrument -w -m -e debug false -e package "io.novafoundation.nova.balances" io.pezkuwichain.wallet.debug.test/io.qameta.allure.android.runners.AllureAndroidJUnitRunner',
|
||||||
shell=True, stdout=sp.PIPE, stderr=sp.PIPE, stdin=sp.PIPE)
|
shell=True, stdout=sp.PIPE, stderr=sp.PIPE, stdin=sp.PIPE)
|
||||||
return p.communicate()
|
return p.communicate()
|
||||||
success = re.compile(r'OK \(\d+ tests\)')
|
success = re.compile(r'OK \(\d+ tests\)')
|
||||||
|
|||||||
Reference in New Issue
Block a user