Search Project: *:*

 
<< < 1 .. 1751 1752 1753 1754 1755 .. 3647 > >> (Page 1753 of 3647)

(no subject) opensrc wiki (Thread)
Last updated: 2023-04-15

Home deyuan-chen wiki (WikiPage)
This is the personal project of deyuan-chen. This project is created automatically during user registration as an easy place to store personal data that doesn't need its own project such as cloned repositories.
Last updated: 2023-04-15

Home alexboubou wiki (WikiPage)
This is the personal project of alexboubou. This project is created automatically during user registration as an easy place to store personal data that doesn't need its own project such as cloned repositories.
Last updated: 2023-04-15

wiki Discussion alexboubou wiki (Discussion)
Forum for wiki comments
Last updated: 2023-04-15

blog Discussion alexboubou blog (Discussion)
Forum for blog comments
Last updated: 2023-04-15

(no subject) alexboubou wiki (Thread)
Last updated: 2023-04-15

Post by hermsen on #64 Jenkins python scripts co♻e: unittest framework for CODESYS tickets (Post)
Hi, A small primer on how to go started. You should not change the path of the xml file via Python unless you fancy a challenge. Try changing via the supposed manner: via the new lib parameter interaction window (SP19 or newer) or change it in the .library and save it (recommended for older then SP19). The lib is open source so you may do whatever you see fit. I suggest you open the lib and explore/read it as this will help you write code for step2, monitoring the successful dump of the XML file and exit the CODESYS IDE. 1) Create a pipeline in Jenkins to fit your project needs and call CODESYS.EXE via the CLI as per https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_commandline.html. 2) Start CODESYS.EXE via CLI with the flags according to your needs and be sure let CODESYS execute a python script which monitors that the xUnit report file has been dumped. Be sure to refer your .project file which contains your unit tests too. CODESYS.exe --noUI –-skipunlicensedplugins --project="<path to your project file>" --runscript="<path to your script file which monitors the xUnit xml-file has been dumped and exits CODESYS afterwards>.py" 3) You should write your CODESYS project running tests (using the coUnit Library) and change the .xml file path according to your needs, but the default may suffice. I suggest you dump the file into a static folder from which you copy the file into your WorkSpace. PS. If the default XML path is changed, but the file isn't written or the conroller says the file has been succesfully written but it isn't there, you are affected by a new security fix, see [ticket #63] on how to get around that (NO BUG). 5) Your pipeline should first be tested if it runs satisfactorily, after this write your code / extend your tests. With kind regards
Last updated: 2023-04-15

Post by hermsen on #64 Jenkins python scripts co♻e: unittest framework for CODESYS tickets (Post)
status: wont-fix --> open
Last updated: 2023-04-15

Post by hermsen on #64 Jenkins python scripts co♻e: unittest framework for CODESYS tickets (Post)
Description has changed: Diff: --- old +++ new @@ -1 +1 @@ -Can someone post the python scripts used to automate unit testing. The website only refers to the general python scripting CODESYS website. For example: how to change the output path for the xUnit file and set it to the Jenkins folder? I figured out that it can be changed in the project library manager under the parameter global variable by selecting the parameter tab. No idea how to change it programatically in python. I am sure people have done it for CodeForge Drone and it must be similar for Jenkins. Help please. +Can someone post the python scripts used to automate unit testing. The website only refers to the general python scripting CODESYS website. For example: how to change the output path for the xUnit file and set it to the Jenkins folder? I figured out that it can be changed in the project library manager under the parameter global variable by selecting the parameter tab. No idea how to change it programmatically in python. I am sure people have done it for CodeForge Drone and it must be similar for Jenkins. Help please.
Last updated: 2023-04-15

Post by hermsen on #64 Jenkins python scripts co♻e: unittest framework for CODESYS tickets (Post)
labels: Jenkins, python, script --> status: open --> wont-fix
Last updated: 2023-04-15

Home jstewart wiki (WikiPage)
This is the personal project of jstewart. This project is created automatically during user registration as an easy place to store personal data that doesn't need its own project such as cloned repositories.
Last updated: 2023-04-15

wiki Discussion jstewart wiki (Discussion)
Forum for wiki comments
Last updated: 2023-04-15

blog Discussion jstewart blog (Discussion)
Forum for blog comments
Last updated: 2023-04-15

(no subject) jstewart wiki (Thread)
Last updated: 2023-04-15

Home mohamedplc wiki (WikiPage)
This is the personal project of mohamedplc. This project is created automatically during user registration as an easy place to store personal data that doesn't need its own project such as cloned repositories.
Last updated: 2023-04-16

wiki Discussion mohamedplc wiki (Discussion)
Forum for wiki comments
Last updated: 2023-04-16

blog Discussion mohamedplc blog (Discussion)
Forum for blog comments
Last updated: 2023-04-16

(no subject) mohamedplc wiki (Thread)
Last updated: 2023-04-16

wiki Discussion slogannz wiki (Discussion)
Forum for wiki comments
Last updated: 2023-04-16

blog Discussion slogannz blog (Discussion)
Forum for blog comments
Last updated: 2023-04-16

Home slogannz wiki (WikiPage)
This is the personal project of slogannz. This project is created automatically during user registration as an easy place to store personal data that doesn't need its own project such as cloned repositories.
Last updated: 2023-04-16

(no subject) slogannz wiki (Thread)
Last updated: 2023-04-16

Home danielbritt95 wiki (WikiPage)
This is the personal project of danielbritt95. This project is created automatically during user registration as an easy place to store personal data that doesn't need its own project such as cloned repositories.
Last updated: 2023-04-16

wiki Discussion danielbritt95 wiki (Discussion)
Forum for wiki comments
Last updated: 2023-04-16

blog Discussion danielbritt95 blog (Discussion)
Forum for blog comments
Last updated: 2023-04-16

<< < 1 .. 1751 1752 1753 1754 1755 .. 3647 > >> (Page 1753 of 3647)

Showing results of 91172

Sort by relevance or date