Skip to content

Commit 6473626

Browse files
committed
Cut unnecessary things
1 parent 308b52f commit 6473626

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

05_testing_and_ci/python_testing_slides.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ slideOptions:
3131

3232
- Package to write and manage tests.
3333
- Includes command-line interface called `pytest`.
34-
- Install using pip: `pip install pytest`.
3534
- All tests need to be in files named `test_*.py`.
3635
- Each test function needs to be named as `test_*`.
3736
- pytest gives a detailed description for failing tests.
@@ -48,7 +47,7 @@ slideOptions:
4847
- Many features like test automation, sharing of setup and shutdown of tests, etc.
4948
- Use the base class `unittest.TestCase` to create a test suite.
5049
- `MagicMock` from `unittest.mock` used for mock testing.
51-
- Command-line interface: `python -m unittest test_module1 test_module2 ...`.
50+
- Command-line interface: `python -m unittest`.
5251
- Part of the Python standard library.
5352

5453
---
@@ -59,7 +58,7 @@ slideOptions:
5958

6059
## coverage
6160

62-
- Python library to check code coverage. Installation: `pip install coverage`.
61+
- Python library to check code coverage
6362
- Testing frameworks can be run via coverage to generate code coverage data while tests run.
6463
- Code coverage information can be viewed on the terminal using: `coverage report -m`.
6564

0 commit comments

Comments
 (0)