Search Project: *:*

 
<< < 1 .. 1747 1748 1749 1750 1751 .. 3647 > >> (Page 1749 of 3647)

Home hannes wiki (WikiPage)
This is the personal project of hannes. 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-08

wiki Discussion hannes wiki (Discussion)
Forum for wiki comments
Last updated: 2023-04-08

blog Discussion hannes blog (Discussion)
Forum for blog comments
Last updated: 2023-04-08

(no subject) hannes wiki (Thread)
Last updated: 2023-04-08

Post by thecolonel26 on #62 Test Suite is not being Executed co♻e: unittest framework for CODESYS tickets (Post)
Ok it appears it will only execute once and then will require a reset and not just a start and stop. So I figured that out. Next problem This can be closed
Last updated: 2023-04-08

Post by hermsen on #62 Test Suite is not being Executed co♻e: unittest framework for CODESYS tickets (Post)
status: open --> closed
Last updated: 2023-04-09

Ticket #62: Test Suite is not being Executed co♻e: unittest framework for CODESYS tickets (Ticket)
My Test Suite is not being Executed. I have went through the tutorial Several times and I can not figure out what is wrong. CoUnit.RUN(); gets called I can put a break point before and after it. but my test suite body is never called PROGRAM PRG_Test VAR inst_Test_Wago_750_455 : Test_Wago_750_450; END_VAR CoUnit.RUN(); //** This is called FUNCTION_BLOCK Test_Wago_750_450 EXTENDS CoUnit.FB_TestSuite VAR_INPUT END_VAR VAR_OUTPUT END_VAR VAR END_VAR InputEqualsZero(); //** Never reached METHOD InputEqualsZero VAR module : Wago_750_455; processImage : DWORD; i : INT; buffer_False : BOOL := FALSE; buffer_Four : REAL := 4; END_VAR //TEST(__POUNAME()); TEST('Test'); processImage := 0; FOR i := 0 TO 3 BY 1 DO module.Param_ProcessImage[i] := processImage; module.Cfg_HasDiagBits := TRUE; module(); AssertEquals(Expected := buffer_Four, Actual := module.ValueAs_mA[i], Message := 'The calculation is not correct'); AssertEquals(Expected := buffer_False, Actual := module.Error_Any[i], Message := 'Message (Figure me Out Later)'); AssertEquals(Expected := buffer_False, Actual := module.Error_UnderRange[i], Message := 'Message (Figure me Out Later)'); AssertEquals(Expected := buffer_False, Actual := module.Error_OverRange[i], Message := 'Message (Figure me Out Later)'); END_FOR TEST_FINISHED(); And Export of my Project is attached 2023-04-09 11:44:41.953000 Ticket #62: Test Suite is not being Executed co♻e: unittest framework for CODESYS counit tickets tickets False /lib/counit/tickets/62/ Ticket Test Suite is not being Executed False 2 2023-04-07 17:08:39.806000 62 Test Suite is not being Executed closed My Test Suite is not being Executed. I have went through the tutorial Several times and I can not figure out what is wrong. CoUnit.RUN(); gets called I can put a break point before and after it. but my test suite body is never called PROGRAM PRG_Test VAR inst_Test_Wago_750_455 : Test_Wago_750_450; END_VAR CoUnit.RUN(); //** This is called FUNCTION_BLOCK Test_Wago_750_450 EXTENDS CoUnit.FB_TestSuite VAR_INPUT END_VAR VAR_OUTPUT END_VAR VAR END_VAR InputEqualsZero(); //** Never reached METHOD InputEqualsZero VAR module : Wago_750_455; processImage : DWORD; i : INT; buffer_False : BOOL := FALSE; buffer_Four : REAL := 4; END_VAR //TEST(__POUNAME()); TEST('Test'); processImage := 0; FOR i := 0 TO 3 BY 1 DO module.Param_ProcessImage[i] := processImage; module.Cfg_HasDiagBits := TRUE; module(); AssertEquals(Expected := buffer_Four, Actual := module.ValueAs_mA[i], Message := 'The calculation is not correct'); AssertEquals(Expected := buffer_False, Actual := module.Error_Any[i], Message := 'Message (Figure me Out Later)'); AssertEquals(Expected := buffer_False, Actual := module.Error_UnderRange[i], Message := 'Message (Figure me Out Later)'); AssertEquals(Expected := buffer_False, Actual := module.Error_OverRange[i], Message := 'Message (Figure me Out Later)'); END_FOR TEST_FINISHED(); And Export of my Project is attached False False 0 0 0 None v1.2.0.0 thecolonel26 None
Last updated: 2023-04-09

(no subject) co♻e: unittest framework for CODESYS tickets (Thread)
Last updated: 2023-04-09

Home chivotix wiki (WikiPage)
This is the personal project of chivotix. 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-10

wiki Discussion chivotix wiki (Discussion)
Forum for wiki comments
Last updated: 2023-04-10

blog Discussion chivotix blog (Discussion)
Forum for blog comments
Last updated: 2023-04-10

(no subject) chivotix wiki (Thread)
Last updated: 2023-04-10

Post by thecolonel26 on #63 xml Results file not being written to file system co♻e: unittest framework for CODESYS tickets (Post)
I am confused. As I said in my post 1. using the default directory which is set to 'C:\' in the library parameter list results in all log messages to the device log showing success. there are no error messages. 2. Changing the directory to C:\Temp\ has the same result all show sucess, and no error mesages. but the xml file is not there in either case. This is the export of the log entries runing the test using the default path <LoggerEntries xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Logger name="coUnit"> <Entry severity="error" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| ======================================</Entry> <Entry severity="error" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Location: C:\coUnit_xunit_testresults.xml</Entry> <Entry severity="error" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| ==========TEST RESULTS EXPORTED===========</Entry> <Entry severity="error" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| ======================================</Entry> <Entry severity="error" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Failed tests: 0</Entry> <Entry severity="error" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Successful tests: 7</Entry> <Entry severity="error" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Tests: 7</Entry> <Entry severity="error" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test suites: 2</Entry> <Entry severity="error" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| ==========TESTS FINISHED RUNNING==========</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test class name=Tests.Application.PRG_Test.inst_Test_Scale</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test name=Test_Scale.Down_In4095_OutTwenty</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test class name=Tests.Application.PRG_Test.inst_Test_Scale</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test name=Test_Scale.Down_In2047_5_OutTwelve</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test class name=Tests.Application.PRG_Test.inst_Test_Scale</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test name=Test_Scale.Down_In0_OutFour</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test class name=Tests.Application.PRG_Test.inst_Test_Scale</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test name=Test_Scale.Up_InTwenty_Out4095</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test class name=Tests.Application.PRG_Test.inst_Test_Scale</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test name=Test_Scale.Up_InTwelve_Out2047_5</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test class name=Tests.Application.PRG_Test.inst_Test_Scale</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test name=Test_Scale.Up_InFour_Out0</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test suite ID=1 'Tests.Application.PRG_Test.inst_Test_Scale'</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test class name=Tests.Application.PRG_Test.inst_Test_Wago_750_455</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test name=Test_Wago_750_450.InputEqualsZero</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test suite ID=0 'Tests.Application.PRG_Test.inst_Test_Wago_750_455'</Entry> </Logger> </LoggerEntries> This is the export of the log entries with a differnt path (C:\Temp), set to allow full access to the directory <LoggerEntries xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Logger name="coUnit"> <Entry severity="error" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| ======================================</Entry> <Entry severity="error" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Location: C:\coUnit_xunit_testresults.xml</Entry> <Entry severity="error" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| ==========TEST RESULTS EXPORTED===========</Entry> <Entry severity="error" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| ======================================</Entry> <Entry severity="error" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Failed tests: 0</Entry> <Entry severity="error" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Successful tests: 7</Entry> <Entry severity="error" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Tests: 7</Entry> <Entry severity="error" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test suites: 2</Entry> <Entry severity="error" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| ==========TESTS FINISHED RUNNING==========</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test class name=Tests.Application.PRG_Test.inst_Test_Scale</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test name=Test_Scale.Down_In4095_OutTwenty</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test class name=Tests.Application.PRG_Test.inst_Test_Scale</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test name=Test_Scale.Down_In2047_5_OutTwelve</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test class name=Tests.Application.PRG_Test.inst_Test_Scale</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test name=Test_Scale.Down_In0_OutFour</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test class name=Tests.Application.PRG_Test.inst_Test_Scale</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test name=Test_Scale.Up_InTwenty_Out4095</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test class name=Tests.Application.PRG_Test.inst_Test_Scale</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test name=Test_Scale.Up_InTwelve_Out2047_5</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test class name=Tests.Application.PRG_Test.inst_Test_Scale</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test name=Test_Scale.Up_InFour_Out0</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test suite ID=1 'Tests.Application.PRG_Test.inst_Test_Scale'</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test class name=Tests.Application.PRG_Test.inst_Test_Wago_750_455</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test name=Test_Wago_750_450.InputEqualsZero</Entry> <Entry severity="information" component="coUnit" user="nobody" timestamp="4/10/2023 2:16:56 PM" infoId="0">| Test suite ID=0 'Tests.Application.PRG_Test.inst_Test_Wago_750_455'</Entry> </Logger> </LoggerEntries>
Last updated: 2023-04-10

Post by thecolonel26 on #63 xml Results file not being written to file system co♻e: unittest framework for CODESYS tickets (Post)
Wait I found it. It seems it ignores the "C:\" I changed the path to just the file name 'coUnit_xunit_testresults.xml' and then I found it written to C:\ProgramData\CODESYS\CODESYSControlWinV3x64\B4A102F1\PlcLogic Is is rather confusing. Where is it writing to if I put C:\ on it? it says it is suceeding.
Last updated: 2023-04-10

Ticket #63: xml Results file not being written to file system co♻e: unittest framework for CODESYS tickets (Ticket)
I am running my tests in Win Control 64 SL with the demo, so all should be good. The file was not writing to C:. No error was shown in the log. the log even said that it had written it. I thought maybe it was a file system permissions issues so I created a folder called temp, sets its permission to allow everyone read/write/modify access and updated the path in the library Parameter list. It again says it wrote the file to the location I specified but nothing is there. 2023-04-10 17:12:46.026000 Ticket #63: xml Results file not being written to file system co♻e: unittest framework for CODESYS counit tickets tickets False /lib/counit/tickets/63/ Ticket xml Results file not being written to file system False 1 2023-04-08 17:33:54.350000 63 xml Results file not being written to file system open I am running my tests in Win Control 64 SL with the demo, so all should be good. The file was not writing to C:. No error was shown in the log. the log even said that it had written it. I thought maybe it was a file system permissions issues so I created a folder called temp, sets its permission to allow everyone read/write/modify access and updated the path in the library Parameter list. It again says it wrote the file to the location I specified but nothing is there. False False 0 0 0 None v1.2.0.0 thecolonel26 None
Last updated: 2023-04-10

Post by hermsen on #63 xml Results file not being written to file system co♻e: unittest framework for CODESYS tickets (Post)
1) If you keep the default directory, is the file written? => The anwser should be YES if the unittest doesn't hang (i.e all test finish regardless outcome). 2) If you change the Default directory, is the file written? => If No: - check your PATH notation in CODESYS(!), - check the file write FB error messages, - check if the unittest doesn't hang (i.e all test finish regardless outcome). The XML file is only dumped at the end of all the tests. If the xml file is incomplete, assign a bigger filebuffer until the file is dumped correct. Let me know your outcome.
Last updated: 2023-04-10

Post by hermsen on #63 xml Results file not being written to file system co♻e: unittest framework for CODESYS tickets (Post)
you are most likely affected by this security fix: Codesys Advisory 2023-01 get the files from Program data or change that setting (Forceiecfilepath) to zero. hope this gives you enough hints
Last updated: 2023-04-10

(no subject) co♻e: unittest framework for CODESYS tickets (Thread)
Last updated: 2023-04-10

blog Discussion circircir blog (Discussion)
Forum for blog comments
Last updated: 2023-04-11

Home circircir wiki (WikiPage)
This is the personal project of circircir. 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-11

wiki Discussion circircir wiki (Discussion)
Forum for wiki comments
Last updated: 2023-04-11

(no subject) circircir wiki (Thread)
Last updated: 2023-04-11

wiki Discussion markl wiki (Discussion)
Forum for wiki comments
Last updated: 2023-04-11

blog Discussion markl blog (Discussion)
Forum for blog comments
Last updated: 2023-04-11

(no subject) markl wiki (Thread)
Last updated: 2023-04-11

<< < 1 .. 1747 1748 1749 1750 1751 .. 3647 > >> (Page 1749 of 3647)

Showing results of 91172

Sort by relevance or date