# tf.test.main

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.14.0/tensorflow/python/platform/test.py#L52-L56) |

Runs all unit tests.

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.test.main`](https://www.tensorflow.org/api_docs/python/tf/test/main)

<br />

    tf.test.main(
        argv=None
    )