bernhard_LA 0 Posted September 3, 2020 (edited) following the samples from http://delphiprogrammingdiary.blogspot.com/2018/09/introducing-dunitx-new-unit-test.html we created now also 2 different delphi projects *.dpr for each test a) the consoleAPP for automatic execution within JENKINS and CI b) the VCLGUI app for debugging of our testcases we include the testcas.pas file inside both projects Q1 : any known issue while sharing the test case class (*.pas) between VCLGUI app and console APP ? Q2 : how to separate or select different test cases? we have test cases with a very short execution time ( below 1 min) and some with a very long execution time (several hours) if I could select the individual testcase via the GUI, this would help, I don' want to create a third App for the long test cases .... Edited September 3, 2020 by bernhard_LA Share this post Link to post
Fr0sT.Brutal 900 Posted September 3, 2020 1 hour ago, bernhard_LA said: Q1 : any known issue while sharing the test case class (*.pas) between VCLGUI app and console APP ? None. 1 hour ago, bernhard_LA said: Q2 : how to separate or select different test cases? You can use categories [Category('bench')] procedure BenchMsgThreads; [Category('stability')] procedure TestMsgThreadStab; and corresponding arguments Quote --include:value or -i:value - Specify the categories to include --exclude:value or -e:value - Specify the categories to exclude 1 Share this post Link to post