You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Take Approval test in use for SeleniumLibrary unit tests. #1161
ApprovalTests is an interesting concept, which would help writing unit tests. Unfortunately, adding ApprovalTests as a dev dependency does not work out of the box or like #1147 . This is because ApprovalTests does not work with Jython and there is bug with pypy compatibility. But the issue with pypy should be resolved if my PR is approved.
To take approval test in use.
Update unit test documentation
Solve the problem with Jython
Wait for pypy support release
Write some example tests.
The Jython problem is difficult to solve, because there is import error during the installation: ImportError: cannot import name c_wchar_p. But it could be solved in following way
Tune Jython installation in Travis not to install ApprovalTests
In unit test, make try/except in import of ApprovalTests
Create skip for unit test if running with Jython and use it when running test with ApprovalTests.
Activity
aaltat commentedon Aug 10, 2018
Done in #1173