You can also add it with json.
In the root directory of your test project add a file called “xunit.runner.json”.
Right-click the file, properties. Select “Copy if newer” for copy to Output directory.
Then in the file enter this json:
{
"methodDisplay": "method"
}
Note that you may1 require to restart the IDE in order to have the changes applied.
1 Visual Studio 2019 requires an IDE restart.