Unit tests

Discussion about recent product features & solutions!
3 posts • Page 1 of 1
uxout
Posts:82
Joined: Wed Jul 20, 2016 12:07 pm

Unit tests

Post by uxout »

Hello here !
I'm looking for a solution to set up Continuous Integration for a WinCC OA project.
Is there a way to execute and get results from unit tests outside of the GEDI (maybe by command line) ?

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Unit tests

Post by leoknipp »

The functions in GEDI execute CTRL functions defined in CTRL libraries.
You can also write a script which executes the same functions outside of GEDI, e.g. in an own CTRL manager.

Best Regards
Leopold Knipp
Senior Support Specialist

gschijndel
Posts:376
Joined: Tue Jan 15, 2019 3:12 pm

Re: Unit tests

Post by gschijndel »

The GEDI already executes the unit test in an own CTRL manager and the results are written to 'quickResult.json' and 'fullResult.json' files in the root directory of the project (these files might need to be created before running the tests).

3 posts • Page 1 of 1