Computer Science, asked by myranitha, 1 year ago

Which of the following command is execute to run all the test cases present in a project folder using unittest?

python -m unittest start

python -m unittest

python -m unittest discover

python -m unittest test

Answers

Answered by aftab45
0

Answer:

import unittest

import unittestclass Test(unittest.TestCase):

import unittestclass Test(unittest.TestCase): # test should start with test prefix

import unittestclass Test(unittest.TestCase): # test should start with test prefix def test_FirstTest(self):

import unittestclass Test(unittest.TestCase): # test should start with test prefix def test_FirstTest(self): print("This is to show case the simple Test")

import unittestclass Test(unittest.TestCase): # test should start with test prefix def test_FirstTest(self): print("This is to show case the simple Test")if __name__ == "__main__":

import unittestclass Test(unittest.TestCase): # test should start with test prefix def test_FirstTest(self): print("This is to show case the simple Test")if __name__ == "__main__": unittest.main()

I think it is the answer

please mark me as brainlist

Similar questions