Jul 16, 2020 in Python
Q: Q. How many tests are run, when below code is tested using unittest?

import unittest

def test_sample1():

    assert 3 == 3

class SampleTestClass(unittest.TestCase):

    def test_sample2(self):

        self.assertEqual(3, 3)

1

2

0

3

Related questions

+1 vote
Jul 16, 2020 in Python
...