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
The instructions say to open:
localhost:8000/animals.html
but I think it should be:
localhost:8000/autoTest.html
I see a reference to animals.html in issue #498. I'm assuming that this was the correct way to do it in older versions, but that the documentation has not been updated yet for the current version.
Here are the scripts I used to install it using PIP and using the ZIP file. These are fairly ugly scripts, but I hope you don't mind if I upload them here so I have them the next time I need to install and test Transcrypt on Windows 10.
The issue tracker won't let me upload them with .BAT extensions, so I renamed them as .BAT.TXT instead.
Here are my files for installing and testing Transcrypt on Linux, using pip or the zip archive. I'm not experienced in all the technologies that are used here, so having a script gives me enough detail so that I can install it and validate the installation.
These are not polished scripts. I hope you don't mind if I post these here so I can access them again when I need to install Transcrypt on Linux again.
One would assume the documentation is right, but it saysanimals.html which is outdated, so what?
Moreover, what is one supposed to see? I see an empty table with the following header, does it mean all the tests are successful, or does it mean I ran none of them?
_______________________________________________________
| CPython | Transcrypt |
_______________________________________________________
| Location | Value | Value | Location |
_______________________________________________________
Notice the different order of "location and value" between CPython and Transcrypt
In fact, using the longer list of flags (the first that I quoted above), the HTML table is not empty but contains a bunch of rows with "Errors=0" and at the top the Status is not empty either but it reassuringly says Status: Test succeeded.
PS: thanks for maintaining such a project, it seemss very well thought and I am looking forward to trying it!
Activity
aps9 commentedon Jul 26, 2019
I see now that there is a file run.bat in the folder
C:\code\t1\env\Lib\site-packages\transcrypt\development\automated_tests\transcrypt
It's similar to the instructions but it has more command-line options. I assume these options are needed to make the tests run.
aps9 commentedon Jul 26, 2019
It's working for me now.
Here are the scripts I used to install it using PIP and using the ZIP file. These are fairly ugly scripts, but I hope you don't mind if I upload them here so I have them the next time I need to install and test Transcrypt on Windows 10.
The issue tracker won't let me upload them with .BAT extensions, so I renamed them as .BAT.TXT instead.
setup-transcrypt-pip.bat.txt
setup-transcrypt-zip.bat.txt
aps9 commentedon Jul 28, 2019
Here are my files for installing and testing Transcrypt on Linux, using pip or the zip archive. I'm not experienced in all the technologies that are used here, so having a script gives me enough detail so that I can install it and validate the installation.
These are not polished scripts. I hope you don't mind if I post these here so I can access them again when I need to install Transcrypt on Linux again.
setup-transcrypt.zip
Contents:
setup-transcrypt-zip.sh
setup-transcrypt-pip.sh
fzzylogic commentedon Jul 28, 2019
@aps9, thanks for sharing, it's certainly easier and faster to use scripts than to try and remember everything.
In the 'ugly but it works category', i use this on windows to give a dev server some time to start:
With bash one could use something like this:
aps9 commentedon Jul 29, 2019
@fzzylogic, thanks, I tried the commands you sent and they seem better than the way I was doing it.
JdeH commentedon Aug 14, 2019
@aps9 @fzzylogic Thanks!
davidedelvento commentedon Feb 20, 2020
I too am trying to get started and got confused with the content of https://www.transcrypt.org/docs/html/installation_use.html#installation and specifically the tests.
According to the scripts in this github issue, one should run
However the documentation linked above say the following.
One would assume the documentation is right, but it says
animals.htmlwhich is outdated, so what?Moreover, what is one supposed to see? I see an empty table with the following header, does it mean all the tests are successful, or does it mean I ran none of them?
Notice the different order of "location and value" between CPython and Transcrypt
In fact, using the longer list of flags (the first that I quoted above), the HTML table is not empty but contains a bunch of rows with "Errors=0" and at the top the Status is not empty either but it reassuringly says
Status: Test succeeded.PS: thanks for maintaining such a project, it seemss very well thought and I am looking forward to trying it!