> For the complete documentation index, see [llms.txt](https://gchandra.gitbook.io/big-data-and-tools-with-nosql/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gchandra.gitbook.io/big-data-and-tools-with-nosql/data-format/flask-demo-testing.md).

# Flask Demo Testing

```
flask_demo> python3 -m unittest tests/test_01.py -v
```

```
flask_demo> python3 -m unittest tests/test_02.py -v
```

```
flask_demo> python3 -m unittest tests/test_03.py -v
```

```
flask_demo> python3 -m unittest tests/test_04.py -v
```

To run all test files in one go

```
flask_demo> python3 -m unittest discover tests -v
```

To test based on pattern

<pre><code><strong>flask_demo> python3 -m unittest tests/t*_04*.py -v
</strong></code></pre>

**To skip a partition function inside a file**

@unittest.skip() - to skip a particular test
