First clone Drupal core and install dependencies:
git clone https://git.drupalcode.org/project/drupal.git .
composer i
Then copy this landofile to the project root and change as needed. Start lando.
wget https://gist.githubusercontent.com/mikeshiyan/a91b6aadcf76734dfad08dd5811119de/raw/.lando.yml
lando start
Finally run tests. E.g.:
lando phpunit modules/contrib/
lando nightwatch /app/modules/contrib/
This needs an update - nightwatch stopped working for some reason.
Also this node setup is deprecated.