Login  Register

Re: Exclude TestClass from travis ci test execution

Posted by GLASS mailing list on Sep 06, 2016; 5:03pm
URL: https://forum.world.st/Exclude-TestClass-from-travis-ci-test-execution-tp4913992p4914406.html

Bruno,

The name of the class should be a string, not a Symbol. The following
should work :

   #testing : {
      #include : {
       #packages : ['Orbeon_Tests']
     },
     #exclude : {
       #classes : [ 'OrbeonFormInstanceQTestExample1' ]
     }
   }

Dale

On 09/03/2016 05:20 PM, BrunoBB via Glass wrote:

> Hi,
>
> I have the following .smalltalk.ston excluding a test class
> (as stated in: https://github.com/hpi-swa/smalltalkCI):
>
> SmalltalkCISpec {
>    #loading : [
>      SCIMetacelloLoadSpec {
>        #baseline : 'OrbeonPersistenceLayer',
>        #directory : 'repository',
>        #onWarningLog : true,
>        #load : [ 'default' ],
>        #platforms : [ #gemstone ]
>      }
>    ],
>    #testing : {
>       #include : {
>        #packages : ['Orbeon_Tests']
>      },
>      #exclude : {
>        #classes : [ #OrbeonFormInstanceQTestExample1 ]
>      }
>    }
> }
>
> But the test class OrbeonFormInstanceQTestExample1 is executed anyway.
>
> Any idea what is wrong with this definition ?
>
> Regards,
> Bruno
>
>
>
> --
> View this message in context: http://forum.world.st/Exclude-TestClass-from-travis-ci-test-execution-tp4913992.html
> Sent from the GLASS mailing list archive at Nabble.com.
> _______________________________________________
> Glass mailing list
> [hidden email]
> http://lists.gemtalksystems.com/mailman/listinfo/glass

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass