Question: I have about 10 tests in same file and each one them has following set to execute in order

```
import pytest
@pytest.mark.order1
.
.
.
@pytest.mark.order10

```

But the tests never run in the order they are assigned. They always run in the order they are arranged. Anything I am missing ?

even ***@pytest.mark.tryfirst*** didn't work. One thing I noticed is, the ***@pytest.mark.order*** never shows up in suggestions while atleast ***@pyetst.mark.tryfirst*** was there in pycharm.

Answer: 
I faced the same issue, you can use this command to order it:

```
@pytest.mark.run(order=1)

```

But before, install it from this [site](https://pypi.org/project/pytest-ordering/).  

Then it will work fine.
I was also facing the same issue multiple times and tried everything available online. However, what worked for me is to install ordering using `pip3 install pytest-ordering` and restart pycharm.