Skip to content

Commit 8f1c66c

Browse files
committed
readme
1 parent 2edcc94 commit 8f1c66c

4 files changed

Lines changed: 113 additions & 17 deletions

File tree

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021 Reza Mobaraki | MR.Rezoo
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 92 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,92 @@
1-
# python-testing
1+
# Python-Testing
2+
3+
![python](assets/test.png)
4+
5+
Hello this is [Mr.Rezoo](https://www.linkedin.com/in/reza-mobaraki/)
6+
7+
## Table of contents
8+
9+
* [General info](#General-info)
10+
* [Technologies](#Technologies)
11+
* [Help](#Help)
12+
* [Setup](#Setup)
13+
* [Credits](#credits)
14+
* [Contributors](#Contributors)
15+
* [License](#license)
16+
17+
## General info
18+
19+
in this repository We work on 4 way to testing our application
20+
In the simplest possible way. . .
21+
22+
* unittest
23+
* doctest
24+
* nose
25+
* pytest
26+
27+
## Technologies
28+
29+
Project is created with:
30+
31+
* Python: 3.9
32+
33+
## Help
34+
35+
If you are considering a particular method, more modern technology Add to my
36+
project and send merge request, I will add you in the credits and contributors
37+
section
38+
39+
## Setup
40+
41+
* first step : create virtual environment
42+
43+
```shell
44+
virtualenv -p python3 venv
45+
```
46+
47+
* second step : activate virtual environment
48+
49+
```shell
50+
source venv/bin/activate
51+
```
52+
53+
* third step : install package | library from requirements.txt
54+
55+
```shell
56+
pip install -r requirements.txt
57+
```
58+
59+
* fourth step : install package | library from requirements.txt
60+
61+
```shell
62+
pip install -r requirements.txt
63+
```
64+
65+
* run doctest: -v for more detail
66+
```shell
67+
python -m doctest -v filename.py
68+
```
69+
70+
71+
* run unittests:
72+
73+
```shell
74+
python -m unittest -v filename.py
75+
```
76+
* run all unittests:
77+
78+
```shell
79+
python -m unittest -v discover
80+
```
81+
82+
## Credits
83+
84+
* [mongard](https://www.mongard.ir/courses/unittest)
85+
86+
## Contributors
87+
88+
* [MrRezoo](https://github.com/MrRezoo)
89+
90+
## License
91+
92+
Distributed under the MIT License. See [license](LICENSE) for more information.

assets/test.png

36.6 KB
Loading

main.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)