[Glass] Exclude TestClass from travis ci test execution

Dale Henrichs via Glass glass at lists.gemtalksystems.com
Wed Sep 7 12:56:54 PDT 2016


Well I can't guess why I told you that the class name needed to be a 
String instead of a Symbol ... looking at the SmalltalkCI docs and 
implementation again it looks like the class name is supposed to be a 
Symbol... With that said, it actually doesn't matter for GemStone, since 
the class name can be a String or a Symbol ... not sure what made me 
thing it was supposed to be a String :)

Anyway I would suggest you look closely at the name of the class as I 
suspect a typo ...

You can debug locally by going to the $GS_HOME/shared/repos/smalltalkCI 
git repo and then running the following with the appropriate GemStone 
verion:

   ./run.sh -s GemStone-3.3.1 --gs-HOME="$GS_HOME" 
<path-to-Orebeon-git-repo>/.smalltalk.ston

Which will run the tests in a local stone called travis. Then you can 
arrange to debug things by logging into the travis stone, setting a 
breakpoint in SmalltalkCI>>classesToTest and then running an interactive 
smalltalkCI run in the image by executing:

   SmalltalkCI test: '<path-to-Orebeon-git-repo>/.smalltalk.ston'

and you should get to the bottom of things ..

Dale

On 09/07/2016 10:01 AM, BrunoBB via Glass wrote:
> Dale,
>
> My ston is:
> SmalltalkCISpec {
>    #loading : [
>      SCIMetacelloLoadSpec {
>        #baseline : 'OrbeonPersistenceLayer',
>        #directory : 'repository',
>        #onWarningLog : true,
>        #load : [ 'default' ],
>        #platforms : [ #gemstone ]
>      }
>    ],
>    #testing : {
>      #exclude : {
>        #classes : [ 'OrbeonFormInstanceQTestExample1' ]
>      },
>       #include : {
>        #packages : ['Orbeon_Tests']
>      }
>    }
> }
>
> But all tests in OrbeonFormInstanceQTestExample1 are still being executed :(
>
> No idea what is going on....i will reserach further on this... let you know
> i find something...
>
> regards,
> bruno
>
>
>
> --
> View this message in context: http://forum.world.st/Exclude-TestClass-from-travis-ci-test-execution-tp4913992p4914638.html
> Sent from the GLASS mailing list archive at Nabble.com.
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass



More information about the Glass mailing list