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 }}
This repository has been archived by the owner on Dec 19, 2018. It is now read-only.
From what I understand, BATS is used for testing the cmdline scripts, but works only on linux - As we're trying to make them cross-platform, we should also move away from BATS to some Python module which does this well. That'll ease and streamline the testing process on Windows, although it might not be observable in the CI.
It should be easy to put together some glue python code for this, but there might be some well-developed module just for this - That will be the preferred solution.
I'll give it a try to translate the cli test cases using scripttest. What do you think, will it be a good replacement for BATS?
Also, the code coverage has fall sharply after moving the scripts to cmd, how can we improve that? Should we run the same cli tests both in cli mode and import pontoon-configure mode to keep the stats happy?
The text was updated successfully, but these errors were encountered:
From what I understand, BATS is used for testing the cmdline scripts, but works only on linux - As we're trying to make them cross-platform, we should also move away from BATS to some Python module which does this well. That'll ease and streamline the testing process on Windows,
although it might not be observable in the CI.It should be easy to put together some glue python code for this, but there might be some well-developed module just for this - That will be the preferred solution.
Edit:
Possibly useful modules:
scripttest [Small and to the point]
Edit 2 :
I'll give it a try to translate the cli test cases using scripttest. What do you think, will it be a good replacement for BATS?
Also, the code coverage has fall sharply after moving the scripts to cmd, how can we improve that? Should we run the same cli tests both in cli mode and
import pontoon-configure
mode to keep the stats happy?The text was updated successfully, but these errors were encountered: