How to use test_multi method in autotest

Best Python code snippet using autotest_python

test_runtests.py

Source:test_runtests.py Github

copy

Full Screen

1import os2import re3import six4import pyutilib.misc5from pyutilib.dev.runtests import runPyUtilibTests6import pyutilib.th as unittest7class Test_Runtests(unittest.TestCase):8 def _run(self, args):9 oldCat = os.environ.get('PYUTILIB_UNITTEST_CATEGORY',None)10 if oldCat is not None:11 del os.environ['PYUTILIB_UNITTEST_CATEGORY']12 stream_out = six.StringIO()13 pyutilib.misc.setup_redirect(stream_out)14 rc = runPyUtilibTests(['nosetests', '-v', '--no-xunit'] + args +15 ['pyutilib.th.tests.test_pyunit'],16 use_exec=False)17 pyutilib.misc.reset_redirect()18 if oldCat is not None:19 os.environ['PYUTILIB_UNITTEST_CATEGORY'] = oldCat20 if rc:21 self.fail("running nosetests failed (rc=%s)" % (rc,))22 result = []23 for line in stream_out.getvalue().splitlines():24 if '...' not in line:25 continue26 g = re.match('(\S+) \(([^\)]+)\)', line)27 if g:28 result.append("%s.%s" % (g.group(2), g.group(1)))29 return result30 def test_all(self):31 result = self._run(['--cat=all'])32 ref = [33 'pyutilib.th.tests.test_pyunit.TestExpensive.test_custom',34 'pyutilib.th.tests.test_pyunit.TestExpensive.test_expensive',35 'pyutilib.th.tests.test_pyunit.TestExpensive.test_fragile',36 'pyutilib.th.tests.test_pyunit.TestExpensive.test_fragile_smoke',37 'pyutilib.th.tests.test_pyunit.TestExpensive.test_multi',38 'pyutilib.th.tests.test_pyunit.TestExpensive.test_noCategory',39 'pyutilib.th.tests.test_pyunit.TestExpensive.test_notExpensive',40 'pyutilib.th.tests.test_pyunit.TestExpensive.test_smoke',41 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_custom',42 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_expensive',43 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_fragile',44 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_fragile_smoke',45 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_multi',46 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_noCategory',47 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_notExpensive',48 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_smoke',49 ]50 self.assertEqual(sorted(result), sorted(ref))51 def test_noCategory(self):52 result = self._run([])53 ref = [54 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_custom',55 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_expensive',56 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_fragile',57 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_fragile_smoke',58 'pyutilib.th.tests.test_pyunit.TestExpensive.test_multi',59 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_noCategory',60 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_notExpensive',61 'pyutilib.th.tests.test_pyunit.TestExpensive.test_smoke',62 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_custom',63 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_expensive',64 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_fragile',65 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_fragile_smoke',66 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_multi',67 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_noCategory',68 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_notExpensive',69 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_smoke',70 ]71 self.assertEqual(sorted(result), sorted(ref))72 def test_smoke(self):73 result = self._run(['--cat=smoke'])74 ref = [75 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_custom',76 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_expensive',77 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_fragile',78 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_fragile_smoke',79 'pyutilib.th.tests.test_pyunit.TestExpensive.test_multi',80 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_noCategory',81 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_notExpensive',82 'pyutilib.th.tests.test_pyunit.TestExpensive.test_smoke',83 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_custom',84 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_expensive',85 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_fragile',86 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_fragile_smoke',87 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_multi',88 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_noCategory',89 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_notExpensive',90 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_smoke',91 ]92 self.assertEqual(sorted(result), sorted(ref))93 def test_custom(self):94 result = self._run(['--cat=custom'])95 ref = [96 'pyutilib.th.tests.test_pyunit.TestExpensive.test_custom',97 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_expensive',98 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_fragile',99 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_fragile_smoke',100 'pyutilib.th.tests.test_pyunit.TestExpensive.test_multi',101 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_noCategory',102 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_notExpensive',103 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_smoke',104 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_custom',105 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_expensive',106 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_fragile',107 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_fragile_smoke',108 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_multi',109 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_noCategory',110 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_notExpensive',111 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_smoke',112 ]113 self.assertEqual(sorted(result), sorted(ref))114 def test_expensive(self):115 result = self._run(['--cat=expensive'])116 ref = [117 'pyutilib.th.tests.test_pyunit.TestExpensive.test_custom',118 'pyutilib.th.tests.test_pyunit.TestExpensive.test_expensive',119 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_fragile',120 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_fragile_smoke',121 'pyutilib.th.tests.test_pyunit.TestExpensive.test_multi',122 'pyutilib.th.tests.test_pyunit.TestExpensive.test_noCategory',123 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_notExpensive',124 'pyutilib.th.tests.test_pyunit.TestExpensive.test_smoke',125 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_custom',126 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_expensive',127 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_fragile',128 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_fragile_smoke',129 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_multi',130 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_noCategory',131 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_notExpensive',132 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_smoke',133 ]134 self.assertEqual(sorted(result), sorted(ref))135 def test_expensive_AND_smoke(self):136 result = self._run(['--cat=expensive,smoke'])137 ref = [138 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_custom',139 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_expensive',140 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_fragile',141 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_fragile_smoke',142 'pyutilib.th.tests.test_pyunit.TestExpensive.test_multi',143 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_noCategory',144 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_notExpensive',145 'pyutilib.th.tests.test_pyunit.TestExpensive.test_smoke',146 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_custom',147 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_expensive',148 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_fragile',149 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_fragile_smoke',150 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_multi',151 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_noCategory',152 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_notExpensive',153 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_smoke',154 ]155 self.assertEqual(sorted(result), sorted(ref))156 def test_expensive_OR_smoke(self):157 result = self._run(['--cat=expensive', '--cat=smoke'])158 ref = [159 'pyutilib.th.tests.test_pyunit.TestExpensive.test_custom',160 'pyutilib.th.tests.test_pyunit.TestExpensive.test_expensive',161 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_fragile',162 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_fragile_smoke',163 'pyutilib.th.tests.test_pyunit.TestExpensive.test_multi',164 'pyutilib.th.tests.test_pyunit.TestExpensive.test_noCategory',165 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_notExpensive',166 'pyutilib.th.tests.test_pyunit.TestExpensive.test_smoke',167 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_custom',168 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_expensive',169 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_fragile',170 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_fragile_smoke',171 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_multi',172 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_noCategory',173 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_notExpensive',174 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_smoke',175 ]176 self.assertEqual(sorted(result), sorted(ref))177 def test_NOT_expensive(self):178 result = self._run(['--cat=!expensive'])179 ref = [180 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_custom',181 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_expensive',182 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_fragile',183 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_fragile_smoke',184 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_multi',185 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_noCategory',186 'pyutilib.th.tests.test_pyunit.TestExpensive.test_notExpensive',187 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_smoke',188 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_custom',189 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_expensive',190 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_fragile',191 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_fragile_smoke',192 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_multi',193 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_noCategory',194 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_notExpensive',195 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_smoke',196 ]197 self.assertEqual(sorted(result), sorted(ref))198 def test_fragile(self):199 result = self._run(['--cat=fragile'])200 ref = [201 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_custom',202 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_expensive',203 'pyutilib.th.tests.test_pyunit.TestExpensive.test_fragile',204 'pyutilib.th.tests.test_pyunit.TestExpensive.test_fragile_smoke',205 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_multi',206 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_noCategory',207 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_notExpensive',208 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_smoke',209 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_custom',210 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_expensive',211 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_fragile',212 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_fragile_smoke',213 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_multi',214 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_noCategory',215 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_notExpensive',216 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_smoke',217 ]218 self.assertEqual(sorted(result), sorted(ref))219 def test_fragile_AND_smoke(self):220 result = self._run(['--cat=fragile,smoke'])221 ref = [222 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_custom',223 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_expensive',224 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_fragile',225 'pyutilib.th.tests.test_pyunit.TestExpensive.test_fragile_smoke',226 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_multi',227 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_noCategory',228 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_notExpensive',229 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_smoke',230 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_custom',231 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_expensive',232 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_fragile',233 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_fragile_smoke',234 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_multi',235 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_noCategory',236 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_notExpensive',237 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_smoke',238 ]239 self.assertEqual(sorted(result), sorted(ref))240 def test_fragile_OR_smoke(self):241 result = self._run(['--cat=fragile', '--cat=smoke'])242 ref = [243 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_custom',244 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_expensive',245 'pyutilib.th.tests.test_pyunit.TestExpensive.test_fragile',246 'pyutilib.th.tests.test_pyunit.TestExpensive.test_fragile_smoke',247 'pyutilib.th.tests.test_pyunit.TestExpensive.test_multi',248 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_noCategory',249 #'pyutilib.th.tests.test_pyunit.TestExpensive.test_notExpensive',250 'pyutilib.th.tests.test_pyunit.TestExpensive.test_smoke',251 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_custom',252 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_expensive',253 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_fragile',254 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_fragile_smoke',255 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_multi',256 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_noCategory',257 #'pyutilib.th.tests.test_pyunit.TestNoCategory.test_notExpensive',258 'pyutilib.th.tests.test_pyunit.TestNoCategory.test_smoke',259 ]...

Full Screen

Full Screen

test_pyunit.py

Source:test_pyunit.py Github

copy

Full Screen

...64 self.assertEqual(self.test_custom.expensive, 0)65 self.assertEqual(self.test_custom.fragile, 0)66 self.assertEqual(self.test_custom.custom, 1)67 @unittest.category('custom','smoke')68 def test_multi(self):69 self.assertEqual(self.test_multi.smoke, 1)70 self.assertEqual(self.test_multi.nightly, 0)71 self.assertEqual(self.test_multi.expensive, 0)72 self.assertEqual(self.test_multi.fragile, 0)73 self.assertEqual(self.test_multi.custom, 1)74@unittest.category('expensive')75class TestExpensive(unittest.TestCase):76 def test_noCategory(self):77 self.assertRaises(78 AttributeError, getattr, self.test_noCategory, 'smoke')79 self.assertRaises(80 AttributeError, getattr, self.test_noCategory, 'nightly')81 self.assertRaises(82 AttributeError, getattr, self.test_noCategory, 'expensive')83 self.assertRaises(84 AttributeError, getattr, self.test_noCategory, 'fragile')85 self.assertRaises(86 AttributeError, getattr, self.test_noCategory, 'custom')87 @unittest.category('smoke')88 def test_smoke(self):89 self.assertEqual(self.test_smoke.smoke, 1)90 self.assertEqual(self.test_smoke.nightly, 0)91 self.assertEqual(self.test_smoke.expensive, 1)92 self.assertEqual(self.test_smoke.fragile, 0)93 self.assertRaises(94 AttributeError, getattr, self.test_smoke, 'custom')95 @unittest.category('expensive')96 def test_expensive(self):97 self.assertEqual(self.test_expensive.smoke, 0)98 self.assertEqual(self.test_expensive.nightly, 0)99 self.assertEqual(self.test_expensive.expensive, 1)100 self.assertEqual(self.test_expensive.fragile, 0)101 self.assertRaises(102 AttributeError, getattr, self.test_expensive, 'custom')103 @unittest.category('!expensive')104 def test_notExpensive(self):105 self.assertEqual(self.test_notExpensive.smoke, 0)106 self.assertEqual(self.test_notExpensive.nightly, 0)107 self.assertEqual(self.test_notExpensive.expensive, 0)108 self.assertEqual(self.test_notExpensive.fragile, 0)109 self.assertRaises(110 AttributeError, getattr, self.test_notExpensive, 'custom')111 @unittest.category('fragile')112 def test_fragile(self):113 self.assertEqual(self.test_fragile.smoke, 0)114 self.assertEqual(self.test_fragile.nightly, 0)115 self.assertEqual(self.test_fragile.expensive, 1)116 self.assertEqual(self.test_fragile.fragile, 1)117 self.assertRaises(118 AttributeError, getattr, self.test_notExpensive, 'custom')119 @unittest.category('fragile','smoke')120 def test_fragile_smoke(self):121 self.assertEqual(self.test_fragile_smoke.smoke, 1)122 self.assertEqual(self.test_fragile_smoke.nightly, 0)123 self.assertEqual(self.test_fragile_smoke.expensive, 1)124 self.assertEqual(self.test_fragile_smoke.fragile, 1)125 self.assertRaises(126 AttributeError, getattr, self.test_notExpensive, 'custom')127 @unittest.category('custom')128 def test_custom(self):129 self.assertEqual(self.test_custom.smoke, 0)130 self.assertEqual(self.test_custom.nightly, 0)131 self.assertEqual(self.test_custom.expensive, 1)132 self.assertEqual(self.test_custom.fragile, 0)133 self.assertEqual(self.test_custom.custom, 1)134 @unittest.category('custom','smoke')135 def test_multi(self):136 self.assertEqual(self.test_multi.smoke, 1)137 self.assertEqual(self.test_multi.nightly, 0)138 self.assertEqual(self.test_multi.expensive, 1)139 self.assertEqual(self.test_multi.fragile, 0)140 self.assertEqual(self.test_multi.custom, 1)141if __name__ == "__main__":...

Full Screen

Full Screen

test_multitrack.py

Source:test_multitrack.py Github

copy

Full Screen

1# This file is a part of xboa2# 3# xboa is free software: you can redistribute it and/or modify4# it under the terms of the GNU General Public License as published by5# the Free Software Foundation, either version 3 of the License, or6# (at your option) any later version.7#8# xboa is distributed in the hope that it will be useful,9# but WITHOUT ANY WARRANTY; without even the implied warranty of10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the11# GNU General Public License for more details.12#13# You should have received a copy of the GNU General Public License14# along with xboa in the doc folder. If not, see 15# <http://www.gnu.org/licenses/>.16import unittest17import numpy18from xboa.tracking import TimeoutTracking19from xboa.hit import Hit20from xboa.tracking import MultiTrack21from xboa.tracking.tracking_process import ThisNodeProcess22class MultiTrackTest(unittest.TestCase):23 def setUp(self):24 offset_in = numpy.matrix(numpy.zeros([1, 6]))25 offset_out = [numpy.matrix(numpy.zeros([1, 6]))]26 matrices = [numpy.matrix(numpy.zeros([6, 6]))]27 for i in range(6):28 matrices[0][i, i] = i29 self.tracking = TimeoutTracking(matrices, offset_out, offset_in, 0)30 self.hit_list = [Hit.new_from_dict({'x':i}) for i in range(1000)]31 def test_init(self):32 test_multi = MultiTrack(3, ThisNodeProcess(self.tracking))33 def test_track_many_async(self):34 ref_out = self.tracking.track_many(self.hit_list)35 self.tracking.timeout = 136 test_multi = MultiTrack(3, ThisNodeProcess(self.tracking))37 test_multi.track_many_async(self.hit_list)38 self.assertLess(len(test_multi.get_return_value()), len(self.hit_list))39 self.assertEqual(len(test_multi.job_list), 3)40 for job, ref_length in zip(test_multi.job_list, [334, 333, 333]):41 self.assertEqual(len(job.hit_list), ref_length)42 while len(test_multi.get_return_value()) < len(self.hit_list):43 pass44 test_out = test_multi.last45 self.assertEqual(len(ref_out), len(test_out))46 for ref_hit_list, test_hit_list in zip(ref_out, test_out):47 self.assertEqual(len(ref_hit_list), len(test_hit_list))48 for ref_hit, test_hit in zip(ref_hit_list, test_hit_list):49 self.assertEqual(ref_hit, test_hit)50 def test_track_many(self):51 test_multi = MultiTrack(3, ThisNodeProcess(self.tracking))52 test_out = test_multi.track_many(self.hit_list)53 self.assertEqual(len(test_out), len(self.hit_list))54if __name__ == "__main__":...

Full Screen

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run autotest automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful