Skip to content

Commit fdf1f55

Browse files
authored
Issue #90 - Error Suite 'Tests' contains no tests
Updated the troubleshooting section
1 parent f0524fe commit fdf1f55

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,24 @@ In case further investigation is required, the logs can be accessed by mounting
108108
* Linux/Mac: ``-v `pwd`/logs:/var/log:Z``
109109
* Windows: ``-v ${PWD}/logs:/var/log:Z``
110110

111+
### Error Suite contains no tests
112+
113+
When running tests, an unexpected error sometimes occurs:
114+
115+
> [Error] Suite contains no tests.
116+
117+
There are two main causes to this:
118+
* Either the test folder is not the right one,
119+
* Or the permissions on the test folder are too restrictive.
120+
121+
As there can sometimes be issues as to where the tests are run from, make sure the correct folder is used by trying the following actions:
122+
* Use a full path to the folder instead of a relative one,
123+
* Replace any`` `pwd` ``or `${PWD}` by the full path to the folder.
124+
125+
It is also important to check if Robot Framework is allowed to access the resources it needs, i.e.:
126+
* The folder where the tests are located,
127+
* The test files themselves.
128+
111129
## Please contribute!
112130

113131
Have you found an issue? Do you have an idea for an improvement? Feel free to contribute by submitting it [on the GitHub project](https://github.com/ppodgorsek/docker-robot-framework/issues).

0 commit comments

Comments
 (0)